pub type JSAddPropertyOp = Option<unsafe extern "C" fn(*mut JSContext, Handle<*mut JSObject>, Handle<PropertyKey>, Handle<Value>) -> bool>;Expand description
Add a property named by id to obj.
Aliased Type§
pub enum JSAddPropertyOp {
None,
Some(unsafe extern "C" fn(*mut JSContext, Handle<*mut JSObject>, Handle<PropertyKey>, Handle<Value>) -> bool),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*mut JSContext, Handle<*mut JSObject>, Handle<PropertyKey>, Handle<Value>) -> bool)
Some value of type T.
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.