pub struct StrategyRank {
pub priority: usize,
pub tie_breaker: usize,
}Fields§
§priority: usize§tie_breaker: usizeTrait Implementations§
Source§impl Clone for StrategyRank
impl Clone for StrategyRank
Source§fn clone(&self) -> StrategyRank
fn clone(&self) -> StrategyRank
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StrategyRank
Source§impl Debug for StrategyRank
impl Debug for StrategyRank
impl Eq for StrategyRank
Source§impl Ord for StrategyRank
impl Ord for StrategyRank
Source§fn cmp(&self, other: &StrategyRank) -> Ordering
fn cmp(&self, other: &StrategyRank) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StrategyRank
impl PartialEq for StrategyRank
Source§fn eq(&self, other: &StrategyRank) -> bool
fn eq(&self, other: &StrategyRank) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StrategyRank
impl PartialOrd for StrategyRank
impl StructuralPartialEq for StrategyRank
Auto Trait Implementations§
impl Freeze for StrategyRank
impl RefUnwindSafe for StrategyRank
impl Send for StrategyRank
impl Sync for StrategyRank
impl Unpin for StrategyRank
impl UnsafeUnpin for StrategyRank
impl UnwindSafe for StrategyRank
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