Struct jscjs_sys::api::JSStaticValue [−][src]
#[repr(C)]pub struct JSStaticValue { pub name: *const c_char, pub getProperty: JSObjectGetPropertyCallback, pub setProperty: JSObjectSetPropertyCallback, pub attributes: JSPropertyAttributes, }
Expand description
@struct JSStaticValue @abstract This structure describes a statically declared value property. @field name A null-terminated UTF8 string containing the property’s name. @field getProperty A JSObjectGetPropertyCallback to invoke when getting the property’s value. @field setProperty A JSObjectSetPropertyCallback to invoke when setting the property’s value. May be NULL if the ReadOnly attribute is set. @field attributes A logically ORed set of JSPropertyAttributes to give to the property.
Fields
name: *const c_char
getProperty: JSObjectGetPropertyCallback
setProperty: JSObjectSetPropertyCallback
attributes: JSPropertyAttributes
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for JSStaticValue
impl !Send for JSStaticValue
impl !Sync for JSStaticValue
impl Unpin for JSStaticValue
impl UnwindSafe for JSStaticValue
Blanket Implementations
Mutably borrows from an owned value. Read more