[][src]Trait neon::object::PropertyKey

pub trait PropertyKey {
    unsafe fn get_from<'c, C: Context<'c>>(
        self,
        cx: &mut C,
        out: &mut Local,
        obj: Local
    ) -> bool;
unsafe fn set_from<'c, C: Context<'c>>(
        self,
        cx: &mut C,
        out: &mut bool,
        obj: Local,
        val: Local
    ) -> bool; }

A property key in a JavaScript object.

Required methods

unsafe fn get_from<'c, C: Context<'c>>(
    self,
    cx: &mut C,
    out: &mut Local,
    obj: Local
) -> bool

unsafe fn set_from<'c, C: Context<'c>>(
    self,
    cx: &mut C,
    out: &mut bool,
    obj: Local,
    val: Local
) -> bool

Loading content...

Implementations on Foreign Types

impl PropertyKey for u32[src]

impl<'a> PropertyKey for &'a str[src]

Loading content...

Implementors

impl<'a, K: Value> PropertyKey for Handle<'a, K>[src]

Loading content...