Function script::dom::bindings::proxyhandler::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.