#[repr(C)]
pub struct _generic_SUNNonlinearSolver_Ops {
Show 13 fields pub gettype: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver) -> SUNNonlinearSolver_Type>, pub initialize: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver) -> c_int>, pub setup: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: N_Vector, arg3: *mut c_void) -> c_int>, pub solve: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: N_Vector, arg3: N_Vector, arg4: N_Vector, arg5: realtype, arg6: c_int, arg7: *mut c_void) -> c_int>, pub free: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver) -> c_int>, pub setsysfn: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: SUNNonlinSolSysFn) -> c_int>, pub setlsetupfn: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: SUNNonlinSolLSetupFn) -> c_int>, pub setlsolvefn: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: SUNNonlinSolLSolveFn) -> c_int>, pub setctestfn: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: SUNNonlinSolConvTestFn) -> c_int>, pub setmaxiters: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: c_int) -> c_int>, pub getnumiters: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: *mut c_long) -> c_int>, pub getcuriter: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: *mut c_int) -> c_int>, pub getnumconvfails: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: *mut c_long) -> c_int>,
}

Fields§

§gettype: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver) -> SUNNonlinearSolver_Type>§initialize: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver) -> c_int>§setup: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: N_Vector, arg3: *mut c_void) -> c_int>§solve: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: N_Vector, arg3: N_Vector, arg4: N_Vector, arg5: realtype, arg6: c_int, arg7: *mut c_void) -> c_int>§free: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver) -> c_int>§setsysfn: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: SUNNonlinSolSysFn) -> c_int>§setlsetupfn: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: SUNNonlinSolLSetupFn) -> c_int>§setlsolvefn: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: SUNNonlinSolLSolveFn) -> c_int>§setctestfn: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: SUNNonlinSolConvTestFn) -> c_int>§setmaxiters: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: c_int) -> c_int>§getnumiters: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: *mut c_long) -> c_int>§getcuriter: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: *mut c_int) -> c_int>§getnumconvfails: Option<unsafe extern "C" fn(arg1: SUNNonlinearSolver, arg2: *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.