pub enum ClassId {
Interval(usize),
Complement,
}
Expand description
ClassId
A class id identifies a character class defined by a partition. It can either be Interval(i) where i is an index between 0 and the partition length-1 or Complement.
- Interval(i) denotes the i-th interval in a partition
- Complement denotes the complementary class (not an interval in general)
Variants§
Trait Implementations§
impl Copy for ClassId
impl Eq for ClassId
impl StructuralPartialEq for ClassId
Auto Trait Implementations§
impl Freeze for ClassId
impl RefUnwindSafe for ClassId
impl Send for ClassId
impl Sync for ClassId
impl Unpin for ClassId
impl UnwindSafe for ClassId
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