pub enum ObjectFieldKind {
Named {
name: CompactString,
location: Range<Position>,
colon_location: Option<Range<Position>>,
value: Expression,
},
Spread {
location: Range<Position>,
value: Expression,
},
}
Variants§
Trait Implementations§
Source§impl Clone for ObjectFieldKind
impl Clone for ObjectFieldKind
Source§fn clone(&self) -> ObjectFieldKind
fn clone(&self) -> ObjectFieldKind
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ObjectFieldKind
impl RefUnwindSafe for ObjectFieldKind
impl Send for ObjectFieldKind
impl Sync for ObjectFieldKind
impl Unpin for ObjectFieldKind
impl UnwindSafe for ObjectFieldKind
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