Enum parse_js::ast::ClassOrObjectMemberValue  
source · pub enum ClassOrObjectMemberValue {
    Getter {
        body: NodeId,
    },
    Method {
        is_async: bool,
        generator: bool,
        signature: NodeId,
        body: NodeId,
    },
    Property {
        initializer: Option<NodeId>,
    },
    Setter {
        body: NodeId,
        parameter: NodeId,
    },
}Variants
Getter
Fields
body: NodeIdMethod
Property
Setter
Trait Implementations
sourceimpl Clone for ClassOrObjectMemberValue
 
impl Clone for ClassOrObjectMemberValue
sourcefn clone(&self) -> ClassOrObjectMemberValue
 
fn clone(&self) -> ClassOrObjectMemberValue
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 moreAuto Trait Implementations
impl RefUnwindSafe for ClassOrObjectMemberValue
impl Send for ClassOrObjectMemberValue
impl Sync for ClassOrObjectMemberValue
impl Unpin for ClassOrObjectMemberValue
impl UnwindSafe for ClassOrObjectMemberValue
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