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