pub struct BoundFunctionObject { /* private fields */ }Trait Implementations§
Source§impl JsFunctionObject for BoundFunctionObject
impl JsFunctionObject for BoundFunctionObject
fn get_function_object_base_mut(&mut self) -> &mut FunctionObjectBase
fn get_function_object_base(&self) -> &FunctionObjectBase
fn as_js_function_object(&self) -> &dyn JsFunctionObject
fn as_js_function_object_mut(&mut self) -> &mut dyn JsFunctionObject
fn call( &self, _fat_self: &JsObjectType, ctx_stack: &mut ExecutionContextStack, _this: JsValueOrSelf<'_>, args: Vec<JsValue>, ) -> Result<JsValue, JErrorType>
fn construct( &self, _args: Vec<JsValue>, _o: JsObjectType, ) -> Result<JsValue, JErrorType>
Source§impl JsObject for BoundFunctionObject
impl JsObject for BoundFunctionObject
fn get_object_base_mut(&mut self) -> &mut ObjectBase
fn get_object_base(&self) -> &ObjectBase
fn as_js_object(&self) -> &dyn JsObject
fn as_js_object_mut(&mut self) -> &mut dyn JsObject
fn to_string(&self) -> String
fn get_prototype_of(&self) -> Option<JsObjectType>
fn set_prototype_of(&mut self, prototype: Option<JsObjectType>) -> bool
fn is_extensible(&self) -> bool
fn prevent_extensions(&mut self) -> bool
fn get_own_property( &self, property: &PropertyKey, ) -> Result<Option<&PropertyDescriptor>, JErrorType>
fn define_own_property( &mut self, property: PropertyKey, descriptor_setter: PropertyDescriptorSetter, ) -> Result<bool, JErrorType>
fn has_property(&self, property: &PropertyKey) -> bool
fn get( &self, ctx_stack: &mut ExecutionContextStack, property: &PropertyKey, receiver: JsValueOrSelf<'_>, ) -> Result<JsValue, JErrorType>
fn set( &mut self, ctx_stack: &mut ExecutionContextStack, property: PropertyKey, value: JsValue, receiver: JsValueOrSelf<'_>, ) -> Result<bool, JErrorType>
fn delete(&mut self, property: &PropertyKey) -> Result<bool, JErrorType>
fn enumerate(&self) -> JsIteratorObject
fn own_property_keys( &self, ctx_stack: &mut ExecutionContextStack, ) -> Vec<PropertyKey>
Auto Trait Implementations§
impl Freeze for BoundFunctionObject
impl !RefUnwindSafe for BoundFunctionObject
impl !Send for BoundFunctionObject
impl !Sync for BoundFunctionObject
impl Unpin for BoundFunctionObject
impl !UnwindSafe for BoundFunctionObject
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