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

Trait Implementations

impl<'a> Debug for Segment<'a>
[src]

Formats the value using the given formatter.

impl<'a> Clone for Segment<'a>
[src]

Returns a copy of the value. Read more

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]

Performs the conversion.

impl<'a> Hash for Segment<'a>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<'a> PartialEq for Segment<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.