#[repr(u32)]pub enum ParserTokenSetKind {
Intervals = 0,
Inline128 = 1,
Dense = 2,
}Expand description
Membership representation selected for one immutable parser token set.
Variants§
Intervals = 0
Sorted, coalesced inclusive ranges searched by interval boundary.
Inline128 = 1
Two packed words covering EOF and token types 1..=127.
Dense = 2
A bounded packed word slice for a larger, cost-effective token domain.
Trait Implementations§
Source§impl Clone for ParserTokenSetKind
impl Clone for ParserTokenSetKind
Source§fn clone(&self) -> ParserTokenSetKind
fn clone(&self) -> ParserTokenSetKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParserTokenSetKind
Source§impl Debug for ParserTokenSetKind
impl Debug for ParserTokenSetKind
impl Eq for ParserTokenSetKind
Source§impl PartialEq for ParserTokenSetKind
impl PartialEq for ParserTokenSetKind
impl StructuralPartialEq for ParserTokenSetKind
Auto Trait Implementations§
impl Freeze for ParserTokenSetKind
impl RefUnwindSafe for ParserTokenSetKind
impl Send for ParserTokenSetKind
impl Sync for ParserTokenSetKind
impl Unpin for ParserTokenSetKind
impl UnsafeUnpin for ParserTokenSetKind
impl UnwindSafe for ParserTokenSetKind
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