pub struct Matcher<'a, S = usize, A = DenseDFA<&'a [S], S>> where
S: StateID,
A: DFA<ID = S>, { /* private fields */ }
Expand description
A reference to a Pattern
that matches a single input.
Implementations
Returns true
if this Matcher
has matched any input that has been
provided.
Returns true
if this pattern matches the formatted output of the given
type implementing fmt::Debug
.
Returns true
if this pattern matches the formatted output of the given
type implementing fmt::Debug
.
Returns true
if this pattern matches the formatted output of the given
type implementing fmt::Display
.
Trait Implementations
Writes a string slice into this writer, returning whether the write succeeded. Read more
Write a buffer into this writer, returning how many bytes were written. Read more
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
can_vector
)Determines if this Write
r has an efficient write_vectored
implementation. Read more
Attempts to write an entire buffer into this writer. Read more
write_all_vectored
)Attempts to write multiple buffers into this writer. Read more
Writes a formatted string into this writer, returning any error encountered. Read more
Auto Trait Implementations
impl<'a, S, A> RefUnwindSafe for Matcher<'a, S, A> where
A: RefUnwindSafe,
S: RefUnwindSafe,
impl<'a, S, A> UnwindSafe for Matcher<'a, S, A> where
A: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more