Struct javascriptcore_sys::JSStaticFunction [] [src]

#[repr(C)]
pub struct JSStaticFunction { pub name: *const c_char, pub callAsFunction: JSObjectCallAsFunctionCallback, pub attributes: JSPropertyAttributes, }

A statically declared function property.

Fields

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

A JSObjectCallAsFunctionCallback to invoke when the property is called as a function.

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

Trait Implementations

impl Debug for JSStaticFunction
[src]

Formats the value using the given formatter.

impl Copy for JSStaticFunction
[src]

impl Clone for JSStaticFunction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more