Struct javascriptcore_sys::JSStaticValue
[−]
[src]
#[repr(C)]pub struct JSStaticValue { pub name: *const c_char, pub getProperty: JSObjectGetPropertyCallback, pub setProperty: JSObjectSetPropertyCallback, pub attributes: JSPropertyAttributes, }
A statically declared value property.
Fields
name: *const c_char
A null-terminated UTF8 string containing the property's name.
getProperty: JSObjectGetPropertyCallback
A JSObjectGetPropertyCallback to invoke when getting the property's value.
setProperty: JSObjectSetPropertyCallback
A JSObjectSetPropertyCallback to invoke when setting the property's value.
May be NULL if the ReadOnly attribute is set.
attributes: JSPropertyAttributes
A logically ORed set of JSPropertyAttributes to give to the property.
Trait Implementations
impl Debug for JSStaticValue[src]
impl Copy for JSStaticValue[src]
impl Clone for JSStaticValue[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more