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
name: *const c_char
A null-terminated UTF8 string containing the property's name.
callAsFunction: JSObjectCallAsFunctionCallback
A JSObjectCallAsFunctionCallback to invoke when the property
is called as a function.
attributes: JSPropertyAttributes
A logically ORed set of JSPropertyAttributes to give to the property.
Trait Implementations
impl Debug for JSStaticFunction[src]
impl Copy for JSStaticFunction[src]
impl Clone for JSStaticFunction[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