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