Struct clips_sys::construct

source ·
#[repr(C)]
pub struct construct {
Show 13 fields pub constructName: *const c_char, pub pluralName: *const c_char, pub parseFunction: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: *const c_char) -> bool>, pub findFunction: FindConstructFunction, pub getConstructNameFunction: Option<unsafe extern "C" fn(arg1: *mut ConstructHeader) -> *mut CLIPSLexeme>, pub getPPFormFunction: Option<unsafe extern "C" fn(arg1: *mut ConstructHeader) -> *const c_char>, pub getModuleItemFunction: Option<unsafe extern "C" fn(arg1: *mut ConstructHeader) -> *mut defmoduleItemHeader>, pub getNextItemFunction: GetNextConstructFunction, pub setNextItemFunction: Option<unsafe extern "C" fn(arg1: *mut ConstructHeader, arg2: *mut ConstructHeader)>, pub isConstructDeletableFunction: IsConstructDeletableFunction, pub deleteFunction: DeleteConstructFunction, pub freeFunction: FreeConstructFunction, pub next: *mut Construct,
}

Fields

constructName: *const c_charpluralName: *const c_charparseFunction: Option<unsafe extern "C" fn(arg1: *mut Environment, arg2: *const c_char) -> bool>findFunction: FindConstructFunctiongetConstructNameFunction: Option<unsafe extern "C" fn(arg1: *mut ConstructHeader) -> *mut CLIPSLexeme>getPPFormFunction: Option<unsafe extern "C" fn(arg1: *mut ConstructHeader) -> *const c_char>getModuleItemFunction: Option<unsafe extern "C" fn(arg1: *mut ConstructHeader) -> *mut defmoduleItemHeader>getNextItemFunction: GetNextConstructFunctionsetNextItemFunction: Option<unsafe extern "C" fn(arg1: *mut ConstructHeader, arg2: *mut ConstructHeader)>isConstructDeletableFunction: IsConstructDeletableFunctiondeleteFunction: DeleteConstructFunctionfreeFunction: FreeConstructFunctionnext: *mut Construct

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.