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