Struct boa::object::ObjectData
source · [−]pub struct ObjectData { /* private fields */ }
Expand description
Defines the kind of an object and its internal methods
Implementations
sourceimpl ObjectData
impl ObjectData
sourcepub fn array() -> Self
pub fn array() -> Self
Create the Array
object data and reference its exclusive internal methods
sourcepub fn array_iterator(array_iterator: ArrayIterator) -> Self
pub fn array_iterator(array_iterator: ArrayIterator) -> Self
Create the ArrayIterator
object data
sourcepub fn map(map: OrderedMap<JsValue>) -> Self
pub fn map(map: OrderedMap<JsValue>) -> Self
Create the Map
object data
sourcepub fn map_iterator(map_iterator: MapIterator) -> Self
pub fn map_iterator(map_iterator: MapIterator) -> Self
Create the MapIterator
object data
sourcepub fn reg_exp_string_iterator(
reg_exp_string_iterator: RegExpStringIterator
) -> Self
pub fn reg_exp_string_iterator(
reg_exp_string_iterator: RegExpStringIterator
) -> Self
Create the RegExpStringIterator
object data
sourcepub fn for_in_iterator(for_in_iterator: ForInIterator) -> Self
pub fn for_in_iterator(for_in_iterator: ForInIterator) -> Self
Create the ForInIterator
object data
sourcepub fn set(set: OrderedSet<JsValue>) -> Self
pub fn set(set: OrderedSet<JsValue>) -> Self
Create the Set
object data
sourcepub fn set_iterator(set_iterator: SetIterator) -> Self
pub fn set_iterator(set_iterator: SetIterator) -> Self
Create the SetIterator
object data
sourcepub fn string(string: JsString) -> Self
pub fn string(string: JsString) -> Self
Create the String
object data and reference its exclusive internal methods
sourcepub fn string_iterator(string_iterator: StringIterator) -> Self
pub fn string_iterator(string_iterator: StringIterator) -> Self
Create the StringIterator
object data
sourcepub fn native_object(native_object: Box<dyn NativeObject>) -> Self
pub fn native_object(native_object: Box<dyn NativeObject>) -> Self
Create the NativeObject
object data
Trait Implementations
sourceimpl Debug for ObjectData
impl Debug for ObjectData
sourceimpl Drop for ObjectData
impl Drop for ObjectData
sourceimpl Finalize for ObjectData
impl Finalize for ObjectData
sourceimpl Trace for ObjectData
impl Trace for ObjectData
sourcefn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects Read more
Auto Trait Implementations
impl !RefUnwindSafe for ObjectData
impl !Send for ObjectData
impl !Sync for ObjectData
impl Unpin for ObjectData
impl !UnwindSafe for ObjectData
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