Struct swc_estree_ast::TSImportType
source · pub struct TSImportType {
pub base: BaseNode,
pub argument: StringLiteral,
pub qualifier: Option<TSEntityName>,
pub type_parameters: Option<TSTypeParameterInstantiation>,
}
Fields§
§base: BaseNode
§argument: StringLiteral
§qualifier: Option<TSEntityName>
§type_parameters: Option<TSTypeParameterInstantiation>
Trait Implementations§
source§impl Clone for TSImportType
impl Clone for TSImportType
source§fn clone(&self) -> TSImportType
fn clone(&self) -> TSImportType
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 TSImportType
impl Debug for TSImportType
source§impl<'de> Deserialize<'de> for TSImportType
impl<'de> Deserialize<'de> for TSImportType
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 PartialEq for TSImportType
impl PartialEq for TSImportType
source§fn eq(&self, other: &TSImportType) -> bool
fn eq(&self, other: &TSImportType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TSImportType
impl Serialize for TSImportType
impl StructuralPartialEq for TSImportType
Auto Trait Implementations§
impl Freeze for TSImportType
impl RefUnwindSafe for TSImportType
impl Send for TSImportType
impl Sync for TSImportType
impl Unpin for TSImportType
impl UnwindSafe for TSImportType
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more