[][src]Struct stelar::SyntaxTree

pub struct SyntaxTree<T, NT, V> {
    pub symbol: Symbol<ValuedToken<T, V>, NT>,
    pub rule_applied: Option<usize>,
    pub children: Vec<SyntaxTree<T, NT, V>>,
}

Fields

symbol: Symbol<ValuedToken<T, V>, NT>rule_applied: Option<usize>children: Vec<SyntaxTree<T, NT, V>>

Trait Implementations

impl<T: Clone, NT: Clone, V: Clone> Clone for SyntaxTree<T, NT, V>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<T: Debug, NT: Debug, V: Debug> Debug for SyntaxTree<T, NT, V>[src]

Auto Trait Implementations

impl<T, NT, V> Unpin for SyntaxTree<T, NT, V> where
    NT: Unpin,
    T: Unpin,
    V: Unpin

impl<T, NT, V> Sync for SyntaxTree<T, NT, V> where
    NT: Sync,
    T: Sync,
    V: Sync

impl<T, NT, V> Send for SyntaxTree<T, NT, V> where
    NT: Send,
    T: Send,
    V: Send

impl<T, NT, V> UnwindSafe for SyntaxTree<T, NT, V> where
    NT: UnwindSafe,
    T: UnwindSafe,
    V: UnwindSafe

impl<T, NT, V> RefUnwindSafe for SyntaxTree<T, NT, V> where
    NT: RefUnwindSafe,
    T: RefUnwindSafe,
    V: RefUnwindSafe

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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