Struct swc_ecma_ast::ObjectLit
source · [−]pub struct ObjectLit {
pub span: Span,
pub props: Vec<PropOrSpread>,
}
Expand description
Object literal.
Fields
span: Span
props: Vec<PropOrSpread>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for ObjectLit
impl<'de> Deserialize<'de> for ObjectLit
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl EqIgnoreSpan for ObjectLit
impl EqIgnoreSpan for ObjectLit
fn eq_ignore_span(&self, other: &Self) -> bool
impl Eq for ObjectLit
impl StructuralEq for ObjectLit
impl StructuralPartialEq for ObjectLit
Auto Trait Implementations
impl RefUnwindSafe for ObjectLit
impl Send for ObjectLit
impl Sync for ObjectLit
impl Unpin for ObjectLit
impl UnwindSafe for ObjectLit
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