pub struct Object { /* private fields */ }
Expand description
Objects in JavaScript may be defined as an unordered collection of related data, of primitive or reference types, in the form of “key: value” pairs.
Objects can be initialized using new Object()
, Object.create()
, or using the literal
notation.
An object initializer is an expression that describes the initialization of an
Object
. Objects consist of properties, which are used to describe an object.
Values of object properties can either contain primitive
data types or other
objects.
More information:
Implementations
sourceimpl Object
impl Object
pub fn properties(&self) -> &[PropertyDefinition]
Trait Implementations
sourceimpl Executable for Object
impl Executable for Object
sourceimpl Trace for Object
impl Trace for Object
sourcefn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects Read more
impl StructuralPartialEq for Object
Auto Trait Implementations
impl RefUnwindSafe for Object
impl !Send for Object
impl !Sync for Object
impl Unpin for Object
impl UnwindSafe for Object
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