pub enum AtomStatic {
NormalChar(char),
CharClass(CharClass),
MatchingList(&'static [BracketExpressionTerm]),
NonmatchingList(&'static [BracketExpressionTerm]),
}Expand description
A statically serializable version of an Atom
Variants§
NormalChar(char)
Includes normal char and escaped chars
CharClass(CharClass)
MatchingList(&'static [BracketExpressionTerm])
A matching bracket expression
NonmatchingList(&'static [BracketExpressionTerm])
A nonmatching bracket expression
Implementations§
Trait Implementations§
Source§impl Debug for AtomStatic
impl Debug for AtomStatic
Auto Trait Implementations§
impl Freeze for AtomStatic
impl RefUnwindSafe for AtomStatic
impl Send for AtomStatic
impl Sync for AtomStatic
impl Unpin for AtomStatic
impl UnwindSafe for AtomStatic
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