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