pub enum DistWeight<'a> {
IndvWeight(Metadata<'a>, Expression<'a>),
RangeWeight(Metadata<'a>, Expression<'a>),
}Variants§
IndvWeight(Metadata<'a>, Expression<'a>)
RangeWeight(Metadata<'a>, Expression<'a>)
Implementations§
Source§impl<'a: 'b, 'b> DistWeight<'a>
impl<'a: 'b, 'b> DistWeight<'a>
Sourcepub fn iter(&'b self) -> NodeIter<'a, 'b> ⓘ
pub fn iter(&'b self) -> NodeIter<'a, 'b> ⓘ
Iterate across the DistWeight and its children
Trait Implementations§
Source§impl<'a> Clone for DistWeight<'a>
impl<'a> Clone for DistWeight<'a>
Source§fn clone(&self) -> DistWeight<'a>
fn clone(&self) -> DistWeight<'a>
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<'a> Debug for DistWeight<'a>
impl<'a> Debug for DistWeight<'a>
Source§impl<'a: 'b, 'b> From<&'b DistWeight<'a>> for Node<'a, 'b>
impl<'a: 'b, 'b> From<&'b DistWeight<'a>> for Node<'a, 'b>
Source§fn from(value: &'b DistWeight<'a>) -> Self
fn from(value: &'b DistWeight<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a: 'b, 'b> IntoIterator for &'b DistWeight<'a>
impl<'a: 'b, 'b> IntoIterator for &'b DistWeight<'a>
Source§impl<'a: 'b, 'b> Nodes<'a, 'b> for DistWeight<'a>
impl<'a: 'b, 'b> Nodes<'a, 'b> for DistWeight<'a>
Source§impl<'a> PartialEq for DistWeight<'a>
impl<'a> PartialEq for DistWeight<'a>
impl<'a> StructuralPartialEq for DistWeight<'a>
Auto Trait Implementations§
impl<'a> Freeze for DistWeight<'a>
impl<'a> RefUnwindSafe for DistWeight<'a>
impl<'a> Send for DistWeight<'a>
impl<'a> Sync for DistWeight<'a>
impl<'a> Unpin for DistWeight<'a>
impl<'a> UnsafeUnpin for DistWeight<'a>
impl<'a> UnwindSafe for DistWeight<'a>
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