Enum swc_ecma_visit::fields::AutoAccessorField
source · pub enum AutoAccessorField {
Span,
Key,
Value,
TypeAnn,
IsStatic,
Decorators(usize),
Accessibility,
IsOverride,
Definite,
}
Expand description
This enum represents fields of AutoAccessorField
Variants§
Span
This represents span
Key
This represents key
Value
This represents value
TypeAnn
This represents type_ann
IsStatic
This represents is_static
Decorators(usize)
This represents decorators
Accessibility
This represents accessibility
IsOverride
This represents is_override
Definite
This represents definite
Implementations§
Trait Implementations§
source§impl Clone for AutoAccessorField
impl Clone for AutoAccessorField
source§fn clone(&self) -> AutoAccessorField
fn clone(&self) -> AutoAccessorField
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AutoAccessorField
impl Debug for AutoAccessorField
source§impl<'de> Deserialize<'de> for AutoAccessorField
impl<'de> Deserialize<'de> for AutoAccessorField
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 Hash for AutoAccessorField
impl Hash for AutoAccessorField
source§impl Ord for AutoAccessorField
impl Ord for AutoAccessorField
source§fn cmp(&self, other: &AutoAccessorField) -> Ordering
fn cmp(&self, other: &AutoAccessorField) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for AutoAccessorField
impl PartialEq for AutoAccessorField
source§fn eq(&self, other: &AutoAccessorField) -> bool
fn eq(&self, other: &AutoAccessorField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AutoAccessorField
impl PartialOrd for AutoAccessorField
source§fn partial_cmp(&self, other: &AutoAccessorField) -> Option<Ordering>
fn partial_cmp(&self, other: &AutoAccessorField) -> Option<Ordering>
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 moresource§impl Serialize for AutoAccessorField
impl Serialize for AutoAccessorField
impl Copy for AutoAccessorField
impl Eq for AutoAccessorField
impl StructuralPartialEq for AutoAccessorField
Auto Trait Implementations§
impl Freeze for AutoAccessorField
impl RefUnwindSafe for AutoAccessorField
impl Send for AutoAccessorField
impl Sync for AutoAccessorField
impl Unpin for AutoAccessorField
impl UnwindSafe for AutoAccessorField
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