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