pub enum ArgumentOutcome {
ProposerWins {
survival_rate: f64,
},
ResponderWins {
defeat_rate: f64,
},
Undecided,
}Expand description
Outcome of resolving an argument between proposer and responder.
Variants§
ProposerWins
The proposer’s argument(s) survived in the preferred extension.
ResponderWins
The responder’s counter-argument(s) defeated the proposer.
Undecided
Neither side decisively won.
Trait Implementations§
Source§impl Clone for ArgumentOutcome
impl Clone for ArgumentOutcome
Source§fn clone(&self) -> ArgumentOutcome
fn clone(&self) -> ArgumentOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArgumentOutcome
impl Debug for ArgumentOutcome
Source§impl PartialEq for ArgumentOutcome
impl PartialEq for ArgumentOutcome
impl StructuralPartialEq for ArgumentOutcome
Auto Trait Implementations§
impl Freeze for ArgumentOutcome
impl RefUnwindSafe for ArgumentOutcome
impl Send for ArgumentOutcome
impl Sync for ArgumentOutcome
impl Unpin for ArgumentOutcome
impl UnsafeUnpin for ArgumentOutcome
impl UnwindSafe for ArgumentOutcome
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more