[−][src]Trait qjs::SetProperty
Set a property value on an object.
Required methods
fn set_property<T: NewValue>(
&self,
ctxt: &ContextRef,
this: &Value,
val: T
) -> Result<bool, Error>
&self,
ctxt: &ContextRef,
this: &Value,
val: T
) -> Result<bool, Error>
Set a property value on an object.
Implementations on Foreign Types
impl SetProperty for u32
[src]
fn set_property<T: NewValue>(
&self,
ctxt: &ContextRef,
this: &Value,
val: T
) -> Result<bool, Error>
[src]
&self,
ctxt: &ContextRef,
this: &Value,
val: T
) -> Result<bool, Error>
impl SetProperty for i64
[src]
fn set_property<T: NewValue>(
&self,
ctxt: &ContextRef,
this: &Value,
val: T
) -> Result<bool, Error>
[src]
&self,
ctxt: &ContextRef,
this: &Value,
val: T
) -> Result<bool, Error>
impl<'_> SetProperty for &'_ str
[src]
fn set_property<T: NewValue>(
&self,
ctxt: &ContextRef,
this: &Value,
val: T
) -> Result<bool, Error>
[src]
&self,
ctxt: &ContextRef,
this: &Value,
val: T
) -> Result<bool, Error>
Implementors
impl<'_> SetProperty for Local<'_, JSAtom>
[src]
fn set_property<T: NewValue>(
&self,
ctxt: &ContextRef,
this: &Value,
val: T
) -> Result<bool, Error>
[src]
&self,
ctxt: &ContextRef,
this: &Value,
val: T
) -> Result<bool, Error>