Struct regex_automata::nfa::thompson::map::Utf8SuffixKey
source · pub struct Utf8SuffixKey {
pub from: StateID,
pub start: u8,
pub end: u8,
}
Expand description
A key that uniquely identifies an NFA state. It is a triple that represents a transition from one state for a particular byte range.
Fields§
§from: StateID
§start: u8
§end: u8
Trait Implementations§
source§impl Clone for Utf8SuffixKey
impl Clone for Utf8SuffixKey
source§fn clone(&self) -> Utf8SuffixKey
fn clone(&self) -> Utf8SuffixKey
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Utf8SuffixKey
impl Debug for Utf8SuffixKey
source§impl Default for Utf8SuffixKey
impl Default for Utf8SuffixKey
source§fn default() -> Utf8SuffixKey
fn default() -> Utf8SuffixKey
Returns the “default value” for a type. Read more
source§impl PartialEq for Utf8SuffixKey
impl PartialEq for Utf8SuffixKey
source§fn eq(&self, other: &Utf8SuffixKey) -> bool
fn eq(&self, other: &Utf8SuffixKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Utf8SuffixKey
impl StructuralPartialEq for Utf8SuffixKey
Auto Trait Implementations§
impl Freeze for Utf8SuffixKey
impl RefUnwindSafe for Utf8SuffixKey
impl Send for Utf8SuffixKey
impl Sync for Utf8SuffixKey
impl Unpin for Utf8SuffixKey
impl UnwindSafe for Utf8SuffixKey
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more