pub struct MinWeight<'a, Id, ScoreValue>(pub &'a Id, pub Score<ScoreValue>);
Tuple Fields§
§0: &'a Id
§1: Score<ScoreValue>
Trait Implementations§
Source§impl<'a, Id, ScoreValue: Ord> Ord for MinWeight<'a, Id, ScoreValue>
impl<'a, Id, ScoreValue: Ord> Ord for MinWeight<'a, Id, ScoreValue>
Source§impl<'a, Id, ScoreValue: Ord> PartialOrd for MinWeight<'a, Id, ScoreValue>
impl<'a, Id, ScoreValue: Ord> PartialOrd for MinWeight<'a, Id, ScoreValue>
impl<'a, Id, ScoreValue: Ord> Eq for MinWeight<'a, Id, ScoreValue>
Auto Trait Implementations§
impl<'a, Id, ScoreValue> Freeze for MinWeight<'a, Id, ScoreValue>where
ScoreValue: Freeze,
impl<'a, Id, ScoreValue> RefUnwindSafe for MinWeight<'a, Id, ScoreValue>where
Id: RefUnwindSafe,
ScoreValue: RefUnwindSafe,
impl<'a, Id, ScoreValue> Send for MinWeight<'a, Id, ScoreValue>
impl<'a, Id, ScoreValue> Sync for MinWeight<'a, Id, ScoreValue>
impl<'a, Id, ScoreValue> Unpin for MinWeight<'a, Id, ScoreValue>where
ScoreValue: Unpin,
impl<'a, Id, ScoreValue> UnwindSafe for MinWeight<'a, Id, ScoreValue>where
Id: RefUnwindSafe,
ScoreValue: UnwindSafe,
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