#[repr(C)]
pub struct _generic_SUNLinearSolver_Ops {
Show 13 fields pub gettype: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> SUNLinearSolver_Type>, pub setatimes: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: *mut c_void, arg3: ATimesFn) -> c_int>, pub setpreconditioner: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: *mut c_void, arg3: PSetupFn, arg4: PSolveFn) -> c_int>, pub setscalingvectors: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: N_Vector, arg3: N_Vector) -> c_int>, pub initialize: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> c_int>, pub setup: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: SUNMatrix) -> c_int>, pub solve: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: SUNMatrix, arg3: N_Vector, arg4: N_Vector, arg5: realtype) -> c_int>, pub numiters: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> c_int>, pub resnorm: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> realtype>, pub lastflag: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> c_long>, pub space: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: *mut c_long, arg3: *mut c_long) -> c_int>, pub resid: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> N_Vector>, pub free: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> c_int>,
}

Fields§

§gettype: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> SUNLinearSolver_Type>§setatimes: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: *mut c_void, arg3: ATimesFn) -> c_int>§setpreconditioner: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: *mut c_void, arg3: PSetupFn, arg4: PSolveFn) -> c_int>§setscalingvectors: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: N_Vector, arg3: N_Vector) -> c_int>§initialize: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> c_int>§setup: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: SUNMatrix) -> c_int>§solve: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: SUNMatrix, arg3: N_Vector, arg4: N_Vector, arg5: realtype) -> c_int>§numiters: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> c_int>§resnorm: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> realtype>§lastflag: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> c_long>§space: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: *mut c_long, arg3: *mut c_long) -> c_int>§resid: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> N_Vector>§free: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> 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.