#[repr(C)]
pub struct st_WolframSparseLibrary_Functions {
Show 16 fields pub MSparseArray_clone: Option<unsafe extern "C" fn(arg1: MSparseArray, arg2: *mut MSparseArray) -> c_int>, pub MSparseArray_free: Option<unsafe extern "C" fn(arg1: MSparseArray)>, pub MSparseArray_disown: Option<unsafe extern "C" fn(arg1: MSparseArray)>, pub MSparseArray_disownAll: Option<unsafe extern "C" fn(arg1: MSparseArray)>, pub MSparseArray_shareCount: Option<unsafe extern "C" fn(arg1: MSparseArray) -> mint>, pub MSparseArray_getRank: Option<unsafe extern "C" fn(arg1: MSparseArray) -> mint>, pub MSparseArray_getDimensions: Option<unsafe extern "C" fn(arg1: MSparseArray) -> *const mint>, pub MSparseArray_getImplicitValue: Option<unsafe extern "C" fn(arg1: MSparseArray) -> *mut MTensor>, pub MSparseArray_getExplicitValues: Option<unsafe extern "C" fn(arg1: MSparseArray) -> *mut MTensor>, pub MSparseArray_getRowPointers: Option<unsafe extern "C" fn(arg1: MSparseArray) -> *mut MTensor>, pub MSparseArray_getColumnIndices: Option<unsafe extern "C" fn(arg1: MSparseArray) -> *mut MTensor>, pub MSparseArray_getExplicitPositions: Option<unsafe extern "C" fn(arg1: MSparseArray, arg2: *mut MTensor) -> c_int>, pub MSparseArray_resetImplicitValue: Option<unsafe extern "C" fn(arg1: MSparseArray, arg2: MTensor, arg3: *mut MSparseArray) -> c_int>, pub MSparseArray_toMTensor: Option<unsafe extern "C" fn(arg1: MSparseArray, arg2: *mut MTensor) -> c_int>, pub MSparseArray_fromMTensor: Option<unsafe extern "C" fn(arg1: MTensor, arg2: MTensor, arg3: *mut MSparseArray) -> c_int>, pub MSparseArray_fromExplicitPositions: Option<unsafe extern "C" fn(arg1: MTensor, arg2: MTensor, arg3: MTensor, arg4: MTensor, arg5: *mut MSparseArray) -> c_int>,
}

Fields

MSparseArray_clone: Option<unsafe extern "C" fn(arg1: MSparseArray, arg2: *mut MSparseArray) -> c_int>MSparseArray_free: Option<unsafe extern "C" fn(arg1: MSparseArray)>MSparseArray_disown: Option<unsafe extern "C" fn(arg1: MSparseArray)>MSparseArray_disownAll: Option<unsafe extern "C" fn(arg1: MSparseArray)>MSparseArray_shareCount: Option<unsafe extern "C" fn(arg1: MSparseArray) -> mint>MSparseArray_getRank: Option<unsafe extern "C" fn(arg1: MSparseArray) -> mint>MSparseArray_getDimensions: Option<unsafe extern "C" fn(arg1: MSparseArray) -> *const mint>MSparseArray_getImplicitValue: Option<unsafe extern "C" fn(arg1: MSparseArray) -> *mut MTensor>MSparseArray_getExplicitValues: Option<unsafe extern "C" fn(arg1: MSparseArray) -> *mut MTensor>MSparseArray_getRowPointers: Option<unsafe extern "C" fn(arg1: MSparseArray) -> *mut MTensor>MSparseArray_getColumnIndices: Option<unsafe extern "C" fn(arg1: MSparseArray) -> *mut MTensor>MSparseArray_getExplicitPositions: Option<unsafe extern "C" fn(arg1: MSparseArray, arg2: *mut MTensor) -> c_int>MSparseArray_resetImplicitValue: Option<unsafe extern "C" fn(arg1: MSparseArray, arg2: MTensor, arg3: *mut MSparseArray) -> c_int>MSparseArray_toMTensor: Option<unsafe extern "C" fn(arg1: MSparseArray, arg2: *mut MTensor) -> c_int>MSparseArray_fromMTensor: Option<unsafe extern "C" fn(arg1: MTensor, arg2: MTensor, arg3: *mut MSparseArray) -> c_int>MSparseArray_fromExplicitPositions: Option<unsafe extern "C" fn(arg1: MTensor, arg2: MTensor, arg3: MTensor, arg4: MTensor, arg5: *mut MSparseArray) -> c_int>

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.