pub enum ClassItem {
Property(PropertyRef),
Range(u32, u32),
Shorthand(Shorthand),
}Expand description
One member of a character class.
Variants§
Property(PropertyRef)
A Unicode property.
Range(u32, u32)
Inclusive range of code points (a single character has lo == hi).
Shorthand(Shorthand)
A shorthand such as \d.
Trait Implementations§
impl Copy for ClassItem
impl Eq for ClassItem
impl StructuralPartialEq for ClassItem
Auto Trait Implementations§
impl Forget for ClassItem
impl Freeze for ClassItem
impl RefUnwindSafe for ClassItem
impl Send for ClassItem
impl Sync for ClassItem
impl Unpin for ClassItem
impl UnsafeUnpin 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