Struct mml::core::segment::Segment
[−]
[src]
pub struct Segment<'a> { pub left: ItemState<'a>, pub right: ItemState<'a>, }
The structure Segment
contents two nodes.
Fields
left: ItemState<'a>
right: ItemState<'a>
Trait Implementations
impl<'a> Debug for Segment<'a>
[src]
impl<'a> Clone for Segment<'a>
[src]
fn clone(&self) -> Segment<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> Eq for Segment<'a>
[src]
impl<'a> From<(ItemState<'a>, ItemState<'a>)> for Segment<'a>
[src]
impl<'a> Hash for Segment<'a>
[src]
fn hash<H: Hasher>(&self, _: &mut H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more