Enum parse_js::ast::ObjectMemberType
source · [−]pub enum ObjectMemberType {
Valued {
key: ClassOrObjectMemberKey,
value: ClassOrObjectMemberValue,
},
Shorthand {
name: SourceRange,
},
Rest {
value: NodeId,
},
}
Variants
Valued
Shorthand
Fields
name: SourceRange
Rest
Fields
value: NodeId
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ObjectMemberType
impl !Send for ObjectMemberType
impl !Sync for ObjectMemberType
impl Unpin for ObjectMemberType
impl UnwindSafe for ObjectMemberType
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