Enum swc_ecma_visit::fields::DeclField
source · pub enum DeclField {
Class,
Fn,
Var,
Using,
TsInterface,
TsTypeAlias,
TsEnum,
TsModule,
}
Expand description
This enum represents fields of DeclField
Variants§
Class
This represents Class
Fn
This represents Fn
Var
This represents Var
Using
This represents Using
TsInterface
This represents TsInterface
TsTypeAlias
This represents TsTypeAlias
TsEnum
This represents TsEnum
TsModule
This represents TsModule
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for DeclField
impl<'de> Deserialize<'de> for DeclField
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 DeclField
impl Ord for DeclField
source§impl PartialEq for DeclField
impl PartialEq for DeclField
source§impl PartialOrd for DeclField
impl PartialOrd for DeclField
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 DeclField
impl Eq for DeclField
impl StructuralPartialEq for DeclField
Auto Trait Implementations§
impl RefUnwindSafe for DeclField
impl Send for DeclField
impl Sync for DeclField
impl Unpin for DeclField
impl UnwindSafe for DeclField
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