script_bindings::proxyhandler

Function set_property_descriptor

Source
pub fn set_property_descriptor(
    desc: MutableHandle<'_, PropertyDescriptor>,
    value: HandleValue<'_>,
    attrs: u32,
    is_none: &mut bool,
)
Expand description

Set the property descriptor’s object to obj and set it to enumerable, and writable if readonly is true.