[−][src]Trait qjs::DefinePropertyValue
Required methods
fn define_property<T: NewValue>(
self,
ctxt: &ContextRef,
this: &Value,
val: T,
flags: Prop
) -> Result<bool, Error>
self,
ctxt: &ContextRef,
this: &Value,
val: T,
flags: Prop
) -> Result<bool, Error>
Defines a new property with value directly on an object, or modifies an existing property on an object.
Implementations on Foreign Types
impl DefinePropertyValue for u32
[src]
fn define_property<T: NewValue>(
self,
ctxt: &ContextRef,
this: &Value,
val: T,
flags: Prop
) -> Result<bool, Error>
[src]
self,
ctxt: &ContextRef,
this: &Value,
val: T,
flags: Prop
) -> Result<bool, Error>
impl<'_> DefinePropertyValue for &'_ str
[src]
fn define_property<T: NewValue>(
self,
ctxt: &ContextRef,
this: &Value,
val: T,
flags: Prop
) -> Result<bool, Error>
[src]
self,
ctxt: &ContextRef,
this: &Value,
val: T,
flags: Prop
) -> Result<bool, Error>
Implementors
impl<'_> DefinePropertyValue for Local<'_, JSAtom>
[src]
fn define_property<T: NewValue>(
self,
ctxt: &ContextRef,
this: &Value,
val: T,
flags: Prop
) -> Result<bool, Error>
[src]
self,
ctxt: &ContextRef,
this: &Value,
val: T,
flags: Prop
) -> Result<bool, Error>