Struct sundials_sys::klu_common_struct

source ·
#[repr(C)]
pub struct klu_common_struct {
Show 24 fields pub tol: f64, pub memgrow: f64, pub initmem_amd: f64, pub initmem: f64, pub maxwork: f64, pub btf: c_int, pub ordering: c_int, pub scale: c_int, pub user_order: Option<unsafe extern "C" fn(arg1: c_int, arg2: *mut c_int, arg3: *mut c_int, arg4: *mut c_int, arg5: *mut klu_common_struct) -> c_int>, pub user_data: *mut c_void, pub halt_if_singular: c_int, pub status: c_int, pub nrealloc: c_int, pub structural_rank: c_int, pub numerical_rank: c_int, pub singular_col: c_int, pub noffdiag: c_int, pub flops: f64, pub rcond: f64, pub condest: f64, pub rgrowth: f64, pub work: f64, pub memusage: usize, pub mempeak: usize,
}

Fields§

§tol: f64§memgrow: f64§initmem_amd: f64§initmem: f64§maxwork: f64§btf: c_int§ordering: c_int§scale: c_int§user_order: Option<unsafe extern "C" fn(arg1: c_int, arg2: *mut c_int, arg3: *mut c_int, arg4: *mut c_int, arg5: *mut klu_common_struct) -> c_int>§user_data: *mut c_void§halt_if_singular: c_int§status: c_int§nrealloc: c_int§structural_rank: c_int§numerical_rank: c_int§singular_col: c_int§noffdiag: c_int§flops: f64§rcond: f64§condest: f64§rgrowth: f64§work: f64§memusage: usize§mempeak: usize

Trait Implementations§

source§

impl Clone for klu_common_struct

source§

fn clone(&self) -> klu_common_struct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for klu_common_struct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for klu_common_struct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.