pub enum ObjProp {
KeyValue(KeyValueProp),
Shorthand(Ident),
Method(MethodProp),
Spread(SpreadExpr),
Getter(GetterProp),
Setter(SetterProp),
}Variants§
KeyValue(KeyValueProp)
Shorthand(Ident)
Method(MethodProp)
Spread(SpreadExpr)
Getter(GetterProp)
Setter(SetterProp)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ObjProp
impl RefUnwindSafe for ObjProp
impl Send for ObjProp
impl Sync for ObjProp
impl Unpin for ObjProp
impl UnsafeUnpin for ObjProp
impl UnwindSafe for ObjProp
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