Trait neon::object::PropertyKey
source · pub trait PropertyKey {
// Required methods
unsafe fn get_from<'c, C: Context<'c>>(
self,
cx: &mut C,
out: &mut Value,
obj: Value
) -> bool;
unsafe fn set_from<'c, C: Context<'c>>(
self,
cx: &mut C,
out: &mut bool,
obj: Value,
val: Value
) -> bool;
}
Expand description
A property key in a JavaScript object.
Required Methods§
unsafe fn get_from<'c, C: Context<'c>>( self, cx: &mut C, out: &mut Value, obj: Value ) -> bool
unsafe fn set_from<'c, C: Context<'c>>( self, cx: &mut C, out: &mut bool, obj: Value, val: Value ) -> bool
Object Safety§
This trait is not object safe.