#[repr(C)]pub struct JSCFunctionType {
pub pointer: *const c_void,
}Expand description
JSCFunctionType: the union of every JSCFunction* pointer type.
Kept as one pointer here, because the union is only ever read through the accessor the
surrounding cproto selects. Reading any variant is a pointer load; which signature
to call it with is decided by the enum, not by the union.
Fields§
§pointer: *const c_voidThe pointer, sign- and type-erased.
Implementations§
Trait Implementations§
Source§impl Clone for JSCFunctionType
impl Clone for JSCFunctionType
impl Copy for JSCFunctionType
Auto Trait Implementations§
impl !Send for JSCFunctionType
impl !Sync for JSCFunctionType
impl Forget for JSCFunctionType
impl Freeze for JSCFunctionType
impl Move for JSCFunctionType
impl RefUnwindSafe for JSCFunctionType
impl Unpin for JSCFunctionType
impl UnsafeUnpin for JSCFunctionType
impl UnwindSafe for JSCFunctionType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more