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