pub enum TsNamespaceDeclField {
Span,
Declare,
Global,
Id,
Body,
}
Expand description
This enum represents fields of TsNamespaceDeclField
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 TsNamespaceDeclField
impl Clone for TsNamespaceDeclField
source§fn clone(&self) -> TsNamespaceDeclField
fn clone(&self) -> TsNamespaceDeclField
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 TsNamespaceDeclField
impl Debug for TsNamespaceDeclField
source§impl<'de> Deserialize<'de> for TsNamespaceDeclField
impl<'de> Deserialize<'de> for TsNamespaceDeclField
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 TsNamespaceDeclField
impl Hash for TsNamespaceDeclField
source§impl Ord for TsNamespaceDeclField
impl Ord for TsNamespaceDeclField
source§fn cmp(&self, other: &TsNamespaceDeclField) -> Ordering
fn cmp(&self, other: &TsNamespaceDeclField) -> 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<TsNamespaceDeclField> for TsNamespaceDeclField
impl PartialEq<TsNamespaceDeclField> for TsNamespaceDeclField
source§fn eq(&self, other: &TsNamespaceDeclField) -> bool
fn eq(&self, other: &TsNamespaceDeclField) -> bool
source§impl PartialOrd<TsNamespaceDeclField> for TsNamespaceDeclField
impl PartialOrd<TsNamespaceDeclField> for TsNamespaceDeclField
source§fn partial_cmp(&self, other: &TsNamespaceDeclField) -> Option<Ordering>
fn partial_cmp(&self, other: &TsNamespaceDeclField) -> 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