#[repr(C)]
pub struct functionDefinition {
Show 15 fields pub callFunctionName: *mut CLIPSLexeme, pub actualFunctionName: *const c_char, pub unknownReturnValueType: c_uint, pub functionPointer: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: *mut UDFContext, arg3: *mut UDFValue)>, pub parser: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: *mut expr, arg3: *const c_char) -> *mut expr>, pub restrictions: *mut CLIPSLexeme, pub minArgs: c_ushort, pub maxArgs: c_ushort, pub overloadable: bool, pub sequenceuseok: bool, pub neededFunction: bool, pub bsaveIndex: c_ulong, pub next: *mut functionDefinition, pub usrData: *mut userData, pub context: *mut c_void,
}

Fields

callFunctionName: *mut CLIPSLexemeactualFunctionName: *const c_charunknownReturnValueType: c_uintfunctionPointer: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: *mut UDFContext, arg3: *mut UDFValue)>parser: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: *mut expr, arg3: *const c_char) -> *mut expr>restrictions: *mut CLIPSLexememinArgs: c_ushortmaxArgs: c_ushortoverloadable: boolsequenceuseok: boolneededFunction: boolbsaveIndex: c_ulongnext: *mut functionDefinitionusrData: *mut userDatacontext: *mut c_void

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.