Struct clips_sys::moduleItem

source ·
#[repr(C)]
pub struct moduleItem { pub name: *const c_char, pub moduleIndex: c_uint, pub allocateFunction: Option<unsafe extern "C" fn(arg1: *mut Environment) -> *mut c_void>, pub freeFunction: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: *mut c_void)>, pub bloadModuleReference: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: c_ulong) -> *mut c_void>, pub constructsToCModuleReference: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: *mut FILE, arg3: c_ulong, arg4: c_uint, arg5: c_uint)>, pub findFunction: FindConstructFunction, pub next: *mut ModuleItem, }

Fields

name: *const c_charmoduleIndex: c_uintallocateFunction: Option<unsafe extern "C" fn(arg1: *mut Environment) -> *mut c_void>freeFunction: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: *mut c_void)>bloadModuleReference: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: c_ulong) -> *mut c_void>constructsToCModuleReference: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: *mut FILE, arg3: c_ulong, arg4: c_uint, arg5: c_uint)>findFunction: FindConstructFunctionnext: *mut ModuleItem

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.