pub struct ClassMethod {
pub name: PropertyKey,
pub params: Vec<Parameter>,
pub body: BlockStatement,
pub kind: MethodKind,
pub is_async: bool,
pub generator: bool,
pub is_static: bool,
pub is_private: bool,
}Fields§
§name: PropertyKey§params: Vec<Parameter>§body: BlockStatement§kind: MethodKind§is_async: bool§generator: bool§is_static: bool§is_private: boolTrait 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 Freeze for ClassMethod
impl RefUnwindSafe for ClassMethod
impl Send for ClassMethod
impl Sync 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