[][src]Trait qjs::DefinePropertyValue

pub trait DefinePropertyValue {
    fn define_property<T: NewValue>(
        self,
        ctxt: &ContextRef,
        this: &Value,
        val: T,
        flags: Prop
    ) -> Result<bool, Error>; }

Required methods

fn define_property<T: NewValue>(
    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.

Loading content...

Implementations on Foreign Types

impl DefinePropertyValue for u32[src]

impl<'_> DefinePropertyValue for &'_ str[src]

Loading content...

Implementors

impl<'_> DefinePropertyValue for Local<'_, JSAtom>[src]

Loading content...