pub struct UnWeighted;
Trait Implementations§
Source§impl Clone for UnWeighted
impl Clone for UnWeighted
Source§fn clone(&self) -> UnWeighted
fn clone(&self) -> UnWeighted
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UnWeighted
impl Debug for UnWeighted
Source§impl Default for UnWeighted
impl Default for UnWeighted
Source§fn default() -> UnWeighted
fn default() -> UnWeighted
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnWeighted
impl<'de> Deserialize<'de> for UnWeighted
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for UnWeighted
impl Display for UnWeighted
Source§impl Hash for UnWeighted
impl Hash for UnWeighted
Source§impl Ord for UnWeighted
impl Ord for UnWeighted
Source§fn cmp(&self, other: &UnWeighted) -> Ordering
fn cmp(&self, other: &UnWeighted) -> Ordering
1.21.0 · 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 UnWeighted
impl PartialEq for UnWeighted
Source§impl PartialOrd for UnWeighted
impl PartialOrd for UnWeighted
Source§impl Serialize for UnWeighted
impl Serialize for UnWeighted
impl Copy for UnWeighted
impl Eq for UnWeighted
impl Send for UnWeighted
impl StructuralPartialEq for UnWeighted
impl Sync for UnWeighted
Auto Trait Implementations§
impl Freeze for UnWeighted
impl RefUnwindSafe for UnWeighted
impl Unpin for UnWeighted
impl UnwindSafe for UnWeighted
Blanket Implementations§
Source§impl<T> AsWeight<T> for Twhere
T: Clone + IntoWeight<T>,
impl<T> AsWeight<T> for Twhere
T: Clone + IntoWeight<T>,
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