pub enum OptimizedPattern {
LiteralChar(char),
LiteralString(String),
CharClass(CharRange),
Simple(Box<Ast>),
Complex(Box<Ast>),
}Variants§
Trait Implementations§
Source§impl Clone for OptimizedPattern
impl Clone for OptimizedPattern
Source§fn clone(&self) -> OptimizedPattern
fn clone(&self) -> OptimizedPattern
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OptimizedPattern
impl RefUnwindSafe for OptimizedPattern
impl Send for OptimizedPattern
impl Sync for OptimizedPattern
impl Unpin for OptimizedPattern
impl UnsafeUnpin for OptimizedPattern
impl UnwindSafe for OptimizedPattern
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