pub enum Score<ScoreValue> {
Inf,
Zero,
Value(ScoreValue),
}
Variants§
Implementations§
Trait Implementations§
Source§impl<ScoreValue: Ord> PartialOrd for Score<ScoreValue>
impl<ScoreValue: Ord> PartialOrd for Score<ScoreValue>
impl<'a, ScoreValue: Eq> Eq for Score<ScoreValue>
Auto Trait Implementations§
impl<ScoreValue> Freeze for Score<ScoreValue>where
ScoreValue: Freeze,
impl<ScoreValue> RefUnwindSafe for Score<ScoreValue>where
ScoreValue: RefUnwindSafe,
impl<ScoreValue> Send for Score<ScoreValue>where
ScoreValue: Send,
impl<ScoreValue> Sync for Score<ScoreValue>where
ScoreValue: Sync,
impl<ScoreValue> Unpin for Score<ScoreValue>where
ScoreValue: Unpin,
impl<ScoreValue> UnwindSafe for Score<ScoreValue>where
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