pub struct ClassMethod {
pub key: ObjectPropertyKey,
pub value: FunctionExpression,
pub kind: MethodKind,
pub computed: bool,
pub static_: bool,
pub accessibility: Option<Accessibility>,
pub decorators: Vec<Decorator>,
pub span: Span,
}Fields§
§key: ObjectPropertyKey§value: FunctionExpression§kind: MethodKind§computed: bool§static_: bool§accessibility: Option<Accessibility>§decorators: Vec<Decorator>§span: SpanTrait Implementations§
Source§impl Clone for ClassMethod
impl Clone for ClassMethod
Source§fn clone(&self) -> ClassMethod
fn clone(&self) -> ClassMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Send for ClassMethod
impl !Sync for ClassMethod
impl Freeze for ClassMethod
impl RefUnwindSafe for ClassMethod
impl Unpin for ClassMethod
impl UnsafeUnpin for ClassMethod
impl UnwindSafe for ClassMethod
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more