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