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 copy 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) -> Self
fn from(x: &'a DistWeight) -> Self
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) -> Self
fn from(x: &'a DistWeight) -> Self
Converts to this type from the input type.
source§impl From<DistWeight> for AnyNode
impl From<DistWeight> for AnyNode
source§fn from(x: DistWeight) -> Self
fn from(x: DistWeight) -> Self
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§fn eq(&self, other: &DistWeight) -> bool
fn eq(&self, other: &DistWeight) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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 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