pub enum ObjectPropertyOrSpread {
Property(ObjectProperty),
Spread(SpreadPattern),
}Variants§
Property(ObjectProperty)
Spread(SpreadPattern)
Trait Implementations§
Source§impl Clone for ObjectPropertyOrSpread
impl Clone for ObjectPropertyOrSpread
Source§fn clone(&self) -> ObjectPropertyOrSpread
fn clone(&self) -> ObjectPropertyOrSpread
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ObjectPropertyOrSpread
impl RefUnwindSafe for ObjectPropertyOrSpread
impl Send for ObjectPropertyOrSpread
impl Sync for ObjectPropertyOrSpread
impl Unpin for ObjectPropertyOrSpread
impl UnsafeUnpin for ObjectPropertyOrSpread
impl UnwindSafe for ObjectPropertyOrSpread
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