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