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