[][src]Struct parattice::lattice::LatticeNode

pub struct LatticeNode<'a> {
    pub forwards: BTreeSet<(&'a str, usize)>,
    pub backwards: BTreeSet<(&'a str, usize)>,
    pub forward_main: Option<(&'a str, usize)>,
    pub backward_main: Option<(&'a str, usize)>,
    pub depth: usize,
}

Fields

forwards: BTreeSet<(&'a str, usize)>backwards: BTreeSet<(&'a str, usize)>forward_main: Option<(&'a str, usize)>backward_main: Option<(&'a str, usize)>depth: usize

Implementations

impl<'a> LatticeNode<'a>[src]

pub fn new<T1: Into<Option<(&'a str, usize)>>, T2: Into<Option<(&'a str, usize)>>>(
    forward_main: T1,
    backward_main: T2,
    depth: usize
) -> LatticeNode<'a>
[src]

pub fn insert_forward(&mut self, edge_str: &'a str, edge_target: usize)[src]

pub fn insert_backward(&mut self, edge_str: &'a str, edge_target: usize)[src]

Trait Implementations

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

impl<'a> Eq for LatticeNode<'a>[src]

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

impl<'a> StructuralEq for LatticeNode<'a>[src]

impl<'a> StructuralPartialEq for LatticeNode<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for LatticeNode<'a>

impl<'a> Send for LatticeNode<'a>

impl<'a> Sync for LatticeNode<'a>

impl<'a> Unpin for LatticeNode<'a>

impl<'a> UnwindSafe for LatticeNode<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.