create_property_spec_accessor

Function create_property_spec_accessor 

Source
pub const fn create_property_spec_accessor(
    name: &'static str,
    getter: JSNativeWrapper,
    setter: JSNativeWrapper,
    attrs: PropertyFlags,
) -> JSPropertySpec
Expand description

Creates a property spec with a name, getter, setter and attributes.