Enum parse_js::ast::ObjectMemberType
source · pub enum ObjectMemberType {
Valued {
key: ClassOrObjectMemberKey,
value: ClassOrObjectMemberValue,
},
Shorthand {
name: SourceRange,
},
Rest {
value: NodeId,
},
}
Variants§
Trait Implementations§
source§impl Clone for ObjectMemberType
impl Clone for ObjectMemberType
source§fn clone(&self) -> ObjectMemberType
fn clone(&self) -> ObjectMemberType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more