Struct swc_ecma_ast::AssignPat
source · [−]pub struct AssignPat {
pub span: Span,
pub left: Box<Pat>,
pub right: Box<Expr>,
pub type_ann: Option<Box<TsTypeAnn>>,
}
Fields
span: Span
left: Box<Pat>
right: Box<Expr>
type_ann: Option<Box<TsTypeAnn>>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for AssignPat
impl<'de> Deserialize<'de> for AssignPat
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 AssignPat
impl EqIgnoreSpan for AssignPat
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<AssignPat> for TsParamPropParam
impl From<AssignPat> for TsParamPropParam
impl Eq for AssignPat
impl StructuralEq for AssignPat
impl StructuralPartialEq for AssignPat
Auto Trait Implementations
impl RefUnwindSafe for AssignPat
impl Send for AssignPat
impl Sync for AssignPat
impl Unpin for AssignPat
impl UnwindSafe for AssignPat
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