pub enum NormalPattern {
PatternList(Vec<PatternElement>),
EnumPattern(Node, Option<Vec<PatternElement>>),
Literal(Literal),
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NormalPattern
impl RefUnwindSafe for NormalPattern
impl Send for NormalPattern
impl Sync for NormalPattern
impl Unpin for NormalPattern
impl UnwindSafe for NormalPattern
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