Enum safe_regex_compiler::parser::ClassItem
source · pub enum ClassItem {
Byte(u8),
ByteRange(u8, u8),
}
Expand description
An element of a regular expression character class.
FinalNode::Class
uses this.
Variants§
Trait Implementations§
source§impl PartialEq for ClassItem
impl PartialEq for ClassItem
source§impl PartialOrd for ClassItem
impl PartialOrd for ClassItem
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ClassItem
impl StructuralPartialEq for ClassItem
Auto Trait Implementations§
impl Freeze for ClassItem
impl RefUnwindSafe for ClassItem
impl Send for ClassItem
impl Sync for ClassItem
impl Unpin for ClassItem
impl UnwindSafe for ClassItem
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