[][src]Trait neon::prelude::Object

pub trait Object: Value {
    fn get<'a, C: Context<'a>, K: PropertyKey>(
        self,
        _: &mut C,
        key: K
    ) -> NeonResult<Handle<'a, JsValue>> { ... }
fn get_own_property_names<'a, C: Context<'a>>(
        self,
        cx: &mut C
    ) -> JsResult<'a, JsArray> { ... }
fn set<'a, C: Context<'a>, K: PropertyKey, W: Value>(
        self,
        _: &mut C,
        key: K,
        val: Handle<W>
    ) -> NeonResult<bool> { ... } }

The trait of all object types.

Provided methods

fn get<'a, C: Context<'a>, K: PropertyKey>(
    self,
    _: &mut C,
    key: K
) -> NeonResult<Handle<'a, JsValue>>

fn get_own_property_names<'a, C: Context<'a>>(
    self,
    cx: &mut C
) -> JsResult<'a, JsArray>

fn set<'a, C: Context<'a>, K: PropertyKey, W: Value>(
    self,
    _: &mut C,
    key: K,
    val: Handle<W>
) -> NeonResult<bool>

Loading content...

Implementors

impl Object for JsArray[src]

impl Object for JsArrayBuffer[src]

impl Object for JsBuffer[src]

impl Object for JsError[src]

impl Object for JsObject[src]

impl<T: Class> Object for T[src]

impl<T: Object> Object for JsFunction<T>[src]

Loading content...