#[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>,
}
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static