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

A null-terminated UTF8 string containing the property's name.

A JSObjectGetPropertyCallback to invoke when getting the property's value.

A JSObjectSetPropertyCallback to invoke when setting the property's value. May be NULL if the ReadOnly attribute is set.

A logically ORed set of JSPropertyAttributes to give to the property.

Trait Implementations

impl Debug for JSStaticValue
[src]

Formats the value using the given formatter.

impl Copy for JSStaticValue
[src]

impl Clone for JSStaticValue
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more