Enum swc_ecma_visit::fields::TsModuleDeclField
source · pub enum TsModuleDeclField {
Span,
Declare,
Global,
Id,
Body,
}
Expand description
This enum represents fields of TsModuleDeclField
Variants§
Span
This represents span
Declare
This represents declare
Global
This represents global
Id
This represents id
Body
This represents body
Implementations§
Trait Implementations§
source§impl Clone for TsModuleDeclField
impl Clone for TsModuleDeclField
source§fn clone(&self) -> TsModuleDeclField
fn clone(&self) -> TsModuleDeclField
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 TsModuleDeclField
impl Debug for TsModuleDeclField
source§impl<'de> Deserialize<'de> for TsModuleDeclField
impl<'de> Deserialize<'de> for TsModuleDeclField
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 TsModuleDeclField
impl Hash for TsModuleDeclField
source§impl Ord for TsModuleDeclField
impl Ord for TsModuleDeclField
source§fn cmp(&self, other: &TsModuleDeclField) -> Ordering
fn cmp(&self, other: &TsModuleDeclField) -> 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<TsModuleDeclField> for TsModuleDeclField
impl PartialEq<TsModuleDeclField> for TsModuleDeclField
source§fn eq(&self, other: &TsModuleDeclField) -> bool
fn eq(&self, other: &TsModuleDeclField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TsModuleDeclField> for TsModuleDeclField
impl PartialOrd<TsModuleDeclField> for TsModuleDeclField
source§fn partial_cmp(&self, other: &TsModuleDeclField) -> Option<Ordering>
fn partial_cmp(&self, other: &TsModuleDeclField) -> 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 more