pub struct FixedWeight<Sc> { /* private fields */ }Expand description
Public wrapper for fixed score weights that are not one of the built-in score types.
Trait Implementations§
Source§impl<Sc: Clone> Clone for FixedWeight<Sc>
impl<Sc: Clone> Clone for FixedWeight<Sc>
impl<Sc: Copy> Copy for FixedWeight<Sc>
Source§impl<Sc: Debug> Debug for FixedWeight<Sc>
impl<Sc: Debug> Debug for FixedWeight<Sc>
impl<Sc: Eq> Eq for FixedWeight<Sc>
Source§impl<Sc: PartialEq> PartialEq for FixedWeight<Sc>
impl<Sc: PartialEq> PartialEq for FixedWeight<Sc>
impl<Sc: PartialEq> StructuralPartialEq for FixedWeight<Sc>
Auto Trait Implementations§
impl<Sc> Freeze for FixedWeight<Sc>where
Sc: Freeze,
impl<Sc> RefUnwindSafe for FixedWeight<Sc>where
Sc: RefUnwindSafe,
impl<Sc> Send for FixedWeight<Sc>where
Sc: Send,
impl<Sc> Sync for FixedWeight<Sc>where
Sc: Sync,
impl<Sc> Unpin for FixedWeight<Sc>where
Sc: Unpin,
impl<Sc> UnsafeUnpin for FixedWeight<Sc>where
Sc: UnsafeUnpin,
impl<Sc> UnwindSafe for FixedWeight<Sc>where
Sc: 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