[−][src]Struct boa::syntax::ast::node::object::Object
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
impl Object
[src]
pub fn properties(&self) -> &[PropertyDefinition]
[src]
Trait Implementations
impl Clone for Object
[src]
impl Debug for Object
[src]
impl Display for Object
[src]
impl Drop for Object
[src]
impl Executable for Object
[src]
impl Finalize for Object
[src]
impl From<Object> for Node
[src]
impl<T> From<T> for Object where
T: Into<Box<[PropertyDefinition]>>,
[src]
T: Into<Box<[PropertyDefinition]>>,
impl PartialEq<Object> for Object
[src]
impl StructuralPartialEq for Object
[src]
impl Trace for Object
[src]
Auto Trait Implementations
impl RefUnwindSafe for Object
[src]
impl Send for Object
[src]
impl Sync for Object
[src]
impl Unpin for Object
[src]
impl UnwindSafe for Object
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> NativeObject for T where
T: Any + Debug + Trace,
[src]
T: Any + Debug + Trace,
pub fn as_any(&Self) -> &(dyn Any + 'static)
[src]
pub fn as_mut_any(&mut Self) -> &mut (dyn Any + 'static)
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,