Enum regex_automata::util::alphabet::UnitKind
source · enum UnitKind {
U8(u8),
EOI(u16),
}
Variants§
U8(u8)
Represents a byte value, or more typically, an equivalence class represented as a byte value.
EOI(u16)
Represents the “end of input” sentinel. We regretably use a u16
here since the maximum sentinel value is 256
. Thankfully, we don’t
actually store a Unit
anywhere, so this extra space shouldn’t be too
bad.
Trait Implementations§
source§impl Ord for UnitKind
impl Ord for UnitKind
source§impl PartialOrd for UnitKind
impl PartialOrd for UnitKind
impl Copy for UnitKind
impl Eq for UnitKind
impl StructuralPartialEq for UnitKind
Auto Trait Implementations§
impl Freeze for UnitKind
impl RefUnwindSafe for UnitKind
impl Send for UnitKind
impl Sync for UnitKind
impl Unpin for UnitKind
impl UnwindSafe for UnitKind
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)