Struct swc_ecma_ast::TsInstantiation
source · [−]pub struct TsInstantiation {
pub span: Span,
pub expr: Box<Expr>,
pub type_args: Box<TsTypeParamInstantiation>,
}
Fields
span: Span
expr: Box<Expr>
type_args: Box<TsTypeParamInstantiation>
Trait Implementations
sourceimpl Clone for TsInstantiation
impl Clone for TsInstantiation
sourcefn clone(&self) -> TsInstantiation
fn clone(&self) -> TsInstantiation
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 TsInstantiation
impl Debug for TsInstantiation
sourceimpl<'de> Deserialize<'de> for TsInstantiation
impl<'de> Deserialize<'de> for TsInstantiation
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 TsInstantiation
impl EqIgnoreSpan for TsInstantiation
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<TsInstantiation> for Box<Expr>
impl From<TsInstantiation> for Box<Expr>
sourcefn from(src: TsInstantiation) -> Box<Expr>
fn from(src: TsInstantiation) -> Box<Expr>
Converts to this type from the input type.
sourceimpl From<TsInstantiation> for Expr
impl From<TsInstantiation> for Expr
sourcefn from(v: TsInstantiation) -> Self
fn from(v: TsInstantiation) -> Self
Converts to this type from the input type.
sourceimpl From<TsInstantiation> for PatOrExpr
impl From<TsInstantiation> for PatOrExpr
sourcefn from(src: TsInstantiation) -> PatOrExpr
fn from(src: TsInstantiation) -> PatOrExpr
Converts to this type from the input type.
sourceimpl Hash for TsInstantiation
impl Hash for TsInstantiation
sourceimpl PartialEq<TsInstantiation> for TsInstantiation
impl PartialEq<TsInstantiation> for TsInstantiation
sourcefn eq(&self, other: &TsInstantiation) -> bool
fn eq(&self, other: &TsInstantiation) -> bool
sourceimpl Serialize for TsInstantiation
impl Serialize for TsInstantiation
sourceimpl Spanned for TsInstantiation
impl Spanned for TsInstantiation
impl Eq for TsInstantiation
impl StructuralEq for TsInstantiation
impl StructuralPartialEq for TsInstantiation
Auto Trait Implementations
impl RefUnwindSafe for TsInstantiation
impl Send for TsInstantiation
impl Sync for TsInstantiation
impl Unpin for TsInstantiation
impl UnwindSafe for TsInstantiation
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