pub struct CharClass {
pub items: Vec<CharClassItem>,
pub negated: bool,
}Expand description
A character class [...].
Fields§
§items: Vec<CharClassItem>Items inside the brackets.
negated: booltrue when the class is negated with ^, e.g. [^abc].
Trait Implementations§
impl StructuralPartialEq for CharClass
Auto Trait Implementations§
impl Freeze for CharClass
impl RefUnwindSafe for CharClass
impl Send for CharClass
impl Sync for CharClass
impl Unpin for CharClass
impl UnsafeUnpin for CharClass
impl UnwindSafe for CharClass
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