pub enum Atom {
Any,
Char(char),
Set(Charset),
Repeat(Box<Self>, Repeat),
Group(Disjunction),
}
Variants§
Any
Any character.
.
Char(char)
Single character.
Set(Charset)
Character set.
[set]
or [^set]
Repeat(Box<Self>, Repeat)
Repetition.
Group(Disjunction)
Capture group.
Implementations§
Trait Implementations§
Source§impl FromIterator<Atom> for Sequence
impl FromIterator<Atom> for Sequence
Source§impl Ord for Atom
impl Ord for Atom
Source§impl PartialOrd for Atom
impl PartialOrd for Atom
impl Eq for Atom
impl StructuralPartialEq for Atom
Auto Trait Implementations§
impl Freeze for Atom
impl RefUnwindSafe for Atom
impl Send for Atom
impl Sync for Atom
impl Unpin for Atom
impl UnwindSafe for Atom
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