#[repr(C)]
pub struct st_WolframNumericArrayLibrary_Functions { pub MNumericArray_new: Option<unsafe extern "C" fn(arg1: numericarray_data_t, arg2: mint, arg3: *const mint, arg4: *mut MNumericArray) -> errcode_t>, pub MNumericArray_free: Option<unsafe extern "C" fn(arg1: MNumericArray)>, pub MNumericArray_clone: Option<unsafe extern "C" fn(arg1: MNumericArray, arg2: *mut MNumericArray) -> errcode_t>, pub MNumericArray_disown: Option<unsafe extern "C" fn(arg1: MNumericArray)>, pub MNumericArray_disownAll: Option<unsafe extern "C" fn(arg1: MNumericArray)>, pub MNumericArray_shareCount: Option<unsafe extern "C" fn(arg1: MNumericArray) -> mint>, pub MNumericArray_getType: Option<unsafe extern "C" fn(arg1: MNumericArray) -> numericarray_data_t>, pub MNumericArray_getRank: Option<unsafe extern "C" fn(arg1: MNumericArray) -> mint>, pub MNumericArray_getDimensions: Option<unsafe extern "C" fn(arg1: MNumericArray) -> *const mint>, pub MNumericArray_getFlattenedLength: Option<unsafe extern "C" fn(arg1: MNumericArray) -> mint>, pub MNumericArray_getData: Option<unsafe extern "C" fn(arg1: MNumericArray) -> *mut c_void>, pub MNumericArray_convertType: Option<unsafe extern "C" fn(arg1: *mut MNumericArray, arg2: MNumericArray, arg3: numericarray_data_t, arg4: numericarray_convert_method_t, arg5: mreal) -> errcode_t>, }

Fields

MNumericArray_new: Option<unsafe extern "C" fn(arg1: numericarray_data_t, arg2: mint, arg3: *const mint, arg4: *mut MNumericArray) -> errcode_t>MNumericArray_free: Option<unsafe extern "C" fn(arg1: MNumericArray)>MNumericArray_clone: Option<unsafe extern "C" fn(arg1: MNumericArray, arg2: *mut MNumericArray) -> errcode_t>MNumericArray_disown: Option<unsafe extern "C" fn(arg1: MNumericArray)>MNumericArray_disownAll: Option<unsafe extern "C" fn(arg1: MNumericArray)>MNumericArray_shareCount: Option<unsafe extern "C" fn(arg1: MNumericArray) -> mint>MNumericArray_getType: Option<unsafe extern "C" fn(arg1: MNumericArray) -> numericarray_data_t>MNumericArray_getRank: Option<unsafe extern "C" fn(arg1: MNumericArray) -> mint>MNumericArray_getDimensions: Option<unsafe extern "C" fn(arg1: MNumericArray) -> *const mint>MNumericArray_getFlattenedLength: Option<unsafe extern "C" fn(arg1: MNumericArray) -> mint>MNumericArray_getData: Option<unsafe extern "C" fn(arg1: MNumericArray) -> *mut c_void>MNumericArray_convertType: Option<unsafe extern "C" fn(arg1: *mut MNumericArray, arg2: MNumericArray, arg3: numericarray_data_t, arg4: numericarray_convert_method_t, arg5: mreal) -> errcode_t>

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

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.