Struct automaton::encoding::Ascii
[−]
[src]
pub struct Ascii { /* fields omitted */ }
Methods
impl Ascii
[src]
fn of<T: Into<Ascii>>(v: T) -> Expression<Ascii>
fn exact(s: &str) -> Expression<Ascii>
Returns an automaton that matches the given string. Panics if the string is not valid ASCII.
Trait Implementations
impl Clone for Ascii
[src]
fn clone(&self) -> Ascii
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Eq for Ascii
[src]
impl PartialEq for Ascii
[src]
fn eq(&self, __arg_0: &Ascii) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Ascii) -> bool
This method tests for !=
.
impl Token for Ascii
[src]
fn from_range(range: &Range<u32>) -> Ascii
Convert the range to a token
fn as_range(&self) -> Range<u32>
Return a representation of the token as a range
impl Hash for Ascii
[src]
fn hash<H>(&self, state: &mut H) where
H: Hasher,
H: Hasher,
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