Enum swc_ecma_visit::fields::PatField
source · pub enum PatField {
Ident,
Array,
Rest,
Object,
Assign,
Invalid,
Expr,
}
Expand description
This enum represents fields of PatField
Variants§
Ident
This represents Ident
Array
This represents Array
Rest
This represents Rest
Object
This represents Object
Assign
This represents Assign
Invalid
This represents Invalid
Expr
This represents Expr
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for PatField
impl<'de> Deserialize<'de> for PatField
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for PatField
impl Ord for PatField
source§impl PartialEq for PatField
impl PartialEq for PatField
source§impl PartialOrd for PatField
impl PartialOrd for PatField
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PatField
impl Eq for PatField
impl StructuralPartialEq for PatField
Auto Trait Implementations§
impl RefUnwindSafe for PatField
impl Send for PatField
impl Sync for PatField
impl Unpin for PatField
impl UnwindSafe for PatField
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