pub struct NonNegativeWeight(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for NonNegativeWeight
impl Clone for NonNegativeWeight
Source§fn clone(&self) -> NonNegativeWeight
fn clone(&self) -> NonNegativeWeight
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 NonNegativeWeight
Source§impl Debug for NonNegativeWeight
impl Debug for NonNegativeWeight
Source§impl<'de> Deserialize<'de> for NonNegativeWeight
impl<'de> Deserialize<'de> for NonNegativeWeight
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NonNegativeWeight
impl PartialEq for NonNegativeWeight
Source§impl PartialOrd for NonNegativeWeight
impl PartialOrd for NonNegativeWeight
Source§impl Serialize for NonNegativeWeight
impl Serialize for NonNegativeWeight
impl StructuralPartialEq for NonNegativeWeight
Auto Trait Implementations§
impl Freeze for NonNegativeWeight
impl RefUnwindSafe for NonNegativeWeight
impl Send for NonNegativeWeight
impl Sync for NonNegativeWeight
impl Unpin for NonNegativeWeight
impl UnsafeUnpin for NonNegativeWeight
impl UnwindSafe for NonNegativeWeight
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