#[repr(C)]
pub struct _generic_SUNMatrix_Ops { pub getid: Option<unsafe extern "C" fn(arg1: SUNMatrix) -> SUNMatrix_ID>, pub clone: Option<unsafe extern "C" fn(arg1: SUNMatrix) -> SUNMatrix>, pub destroy: Option<unsafe extern "C" fn(arg1: SUNMatrix)>, pub zero: Option<unsafe extern "C" fn(arg1: SUNMatrix) -> c_int>, pub copy: Option<unsafe extern "C" fn(arg1: SUNMatrix, arg2: SUNMatrix) -> c_int>, pub scaleadd: Option<unsafe extern "C" fn(arg1: realtype, arg2: SUNMatrix, arg3: SUNMatrix) -> c_int>, pub scaleaddi: Option<unsafe extern "C" fn(arg1: realtype, arg2: SUNMatrix) -> c_int>, pub matvec: Option<unsafe extern "C" fn(arg1: SUNMatrix, arg2: N_Vector, arg3: N_Vector) -> c_int>, pub space: Option<unsafe extern "C" fn(arg1: SUNMatrix, arg2: *mut c_long, arg3: *mut c_long) -> c_int>, }

Fields§

§getid: Option<unsafe extern "C" fn(arg1: SUNMatrix) -> SUNMatrix_ID>§clone: Option<unsafe extern "C" fn(arg1: SUNMatrix) -> SUNMatrix>§destroy: Option<unsafe extern "C" fn(arg1: SUNMatrix)>§zero: Option<unsafe extern "C" fn(arg1: SUNMatrix) -> c_int>§copy: Option<unsafe extern "C" fn(arg1: SUNMatrix, arg2: SUNMatrix) -> c_int>§scaleadd: Option<unsafe extern "C" fn(arg1: realtype, arg2: SUNMatrix, arg3: SUNMatrix) -> c_int>§scaleaddi: Option<unsafe extern "C" fn(arg1: realtype, arg2: SUNMatrix) -> c_int>§matvec: Option<unsafe extern "C" fn(arg1: SUNMatrix, arg2: N_Vector, arg3: N_Vector) -> c_int>§space: Option<unsafe extern "C" fn(arg1: SUNMatrix, arg2: *mut c_long, arg3: *mut c_long) -> 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
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.