Enum parse_js::ast::ObjectMemberType
source · pub enum ObjectMemberType<'a> {
Valued {
key: ClassOrObjectMemberKey<'a>,
value: ClassOrObjectMemberValue<'a>,
},
Shorthand {
identifier: Node<'a>,
},
Rest {
value: Node<'a>,
},
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ObjectMemberType<'a>
impl<'a> !Send for ObjectMemberType<'a>
impl<'a> !Sync for ObjectMemberType<'a>
impl<'a> Unpin for ObjectMemberType<'a>
impl<'a> !UnwindSafe for ObjectMemberType<'a>
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