pub enum DistWeight {
    Equal(Box<DistWeightEqual>),
    Divide(Box<DistWeightDivide>),
}Variants§
Equal(Box<DistWeightEqual>)
Divide(Box<DistWeightDivide>)
Trait Implementations§
Source§impl Clone for DistWeight
 
impl Clone for DistWeight
Source§fn clone(&self) -> DistWeight
 
fn clone(&self) -> DistWeight
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 DistWeight
 
impl Debug for DistWeight
Source§impl<'a> From<&'a DistWeight> for RefNode<'a>
 
impl<'a> From<&'a DistWeight> for RefNode<'a>
Source§fn from(x: &'a DistWeight) -> RefNode<'a>
 
fn from(x: &'a DistWeight) -> RefNode<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a DistWeight> for RefNodes<'a>
 
impl<'a> From<&'a DistWeight> for RefNodes<'a>
Source§fn from(x: &'a DistWeight) -> RefNodes<'a>
 
fn from(x: &'a DistWeight) -> RefNodes<'a>
Converts to this type from the input type.
Source§impl From<DistWeight> for AnyNode
 
impl From<DistWeight> for AnyNode
Source§fn from(x: DistWeight) -> AnyNode
 
fn from(x: DistWeight) -> AnyNode
Converts to this type from the input type.
Source§impl<'a> IntoIterator for &'a DistWeight
 
impl<'a> IntoIterator for &'a DistWeight
Source§impl PartialEq for DistWeight
 
impl PartialEq for DistWeight
Source§impl<'a> TryFrom<&'a DistWeight> for Locate
 
impl<'a> TryFrom<&'a DistWeight> for Locate
Source§impl TryFrom<AnyNode> for DistWeight
 
impl TryFrom<AnyNode> for DistWeight
Source§impl TryFrom<DistWeight> for Locate
 
impl TryFrom<DistWeight> for Locate
impl StructuralPartialEq for DistWeight
Auto Trait Implementations§
impl Freeze for DistWeight
impl RefUnwindSafe for DistWeight
impl Send for DistWeight
impl Sync for DistWeight
impl Unpin for DistWeight
impl UnwindSafe for DistWeight
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