Struct swc_ecma_ast::TsImportType
source · [−]pub struct TsImportType {
pub span: Span,
pub arg: Str,
pub qualifier: Option<TsEntityName>,
pub type_args: Option<Box<TsTypeParamInstantiation>>,
}
Fields
span: Span
arg: Str
qualifier: Option<TsEntityName>
type_args: Option<Box<TsTypeParamInstantiation>>
Trait Implementations
sourceimpl Clone for TsImportType
impl Clone for TsImportType
sourcefn clone(&self) -> TsImportType
fn clone(&self) -> TsImportType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TsImportType
impl Debug for TsImportType
sourceimpl<'de> Deserialize<'de> for TsImportType
impl<'de> Deserialize<'de> for TsImportType
sourcefn 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
sourceimpl EqIgnoreSpan for TsImportType
impl EqIgnoreSpan for TsImportType
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<TsImportType> for TsType
impl From<TsImportType> for TsType
sourcefn from(v: TsImportType) -> Self
fn from(v: TsImportType) -> Self
Converts to this type from the input type.
sourceimpl From<TsImportType> for TsTypeQueryExpr
impl From<TsImportType> for TsTypeQueryExpr
sourcefn from(v: TsImportType) -> Self
fn from(v: TsImportType) -> Self
Converts to this type from the input type.
sourceimpl Hash for TsImportType
impl Hash for TsImportType
sourceimpl PartialEq<TsImportType> for TsImportType
impl PartialEq<TsImportType> for TsImportType
sourcefn eq(&self, other: &TsImportType) -> bool
fn eq(&self, other: &TsImportType) -> bool
sourceimpl Serialize for TsImportType
impl Serialize for TsImportType
sourceimpl Spanned for TsImportType
impl Spanned for TsImportType
impl Eq for TsImportType
impl StructuralEq for TsImportType
impl StructuralPartialEq for TsImportType
Auto Trait Implementations
impl RefUnwindSafe for TsImportType
impl Send for TsImportType
impl Sync for TsImportType
impl Unpin for TsImportType
impl UnwindSafe for TsImportType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more