Struct toxearley::Rule
[−]
[src]
pub struct Rule { /* fields omitted */ }
Methods
impl Rule
[src]
fn new(name: Rc<Symbol>, spec: Vec<Rc<Symbol>>) -> Rule
fn name<'a>(&'a self) -> &'a str
fn spec(&self) -> String
fn spec_parts(&self) -> Vec<String>
Trait Implementations
impl Debug for Rule
[src]
impl Hash for Rule
[src]
fn hash<__H: Hasher>(&self, __arg_0: &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
impl PartialEq for Rule
[src]
fn eq(&self, __arg_0: &Rule) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Rule) -> bool
This method tests for !=
.