Struct parol::analysis::k_tuple::Terminals [−][src]
pub struct Terminals(pub Vec<CompiledTerminal>);
Tuple Fields
0: Vec<CompiledTerminal>
Implementations
Creates a new object with maximum k length from another object
pub fn from_slice<'s, S, M>(others: &'s [S], k: usize, m: M) -> Self where
S: Clone,
M: Fn(&'s S) -> CompiledTerminal,
pub fn from_slice<'s, S, M>(others: &'s [S], k: usize, m: M) -> Self where
S: Clone,
M: Fn(&'s S) -> CompiledTerminal,
Creates a new object from a slice of other objects
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Terminals
impl UnwindSafe for Terminals
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.