pub struct TypedArray<T: TypedArrayElement> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<T: TypedArrayElement> Object for TypedArray<T>
impl<T: TypedArrayElement> Object for TypedArray<T>
fn get_children(&self) -> Vec<usize>
fn as_any(&self) -> &dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
fn call_field(&self, name: &str, executor: &mut ExecutorImpl) -> Value
fn finalize(&self, _pool: &mut ObjectPool)
fn initialize(&mut self, _pool: &mut ObjectPool)
fn call(&self, _executor: &mut ExecutorImpl) -> Value
fn get_field(&self, _pool: &ObjectPool, _name: &str) -> Option<Value>
fn set_field(&self, _name: &str, _value_ref: Value)
fn must_get_field(&self, pool: &ObjectPool, name: &str) -> Value
fn has_const_field(&self, _pool: &ObjectPool, _name: &str) -> bool
fn compare(&self, _other: &ValueContext<'_, '_>) -> Option<Ordering>
fn test_eq(&self, _other: &ValueContext<'_, '_>) -> bool
fn typename(&self) -> &str
fn to_i64(&self) -> i64
fn to_f64(&self) -> f64
fn to_str(&self) -> &str
fn to_string(&self) -> String
fn to_bool(&self) -> bool
Auto Trait Implementations§
impl<T> !Freeze for TypedArray<T>
impl<T> !RefUnwindSafe for TypedArray<T>
impl<T> Send for TypedArray<T>
impl<T> !Sync for TypedArray<T>
impl<T> Unpin for TypedArray<T>where
T: Unpin,
impl<T> UnwindSafe for TypedArray<T>where
T: UnwindSafe,
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