Struct sundials_sys::SuiteSparse_config_struct
source · #[repr(C)]pub struct SuiteSparse_config_struct {
pub malloc_func: Option<unsafe extern "C" fn(arg1: usize) -> *mut c_void>,
pub calloc_func: Option<unsafe extern "C" fn(arg1: usize, arg2: usize) -> *mut c_void>,
pub realloc_func: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: usize) -> *mut c_void>,
pub free_func: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
pub printf_func: Option<unsafe extern "C" fn(arg1: *const c_char, ...) -> c_int>,
pub hypot_func: Option<unsafe extern "C" fn(arg1: f64, arg2: f64) -> f64>,
pub divcomplex_func: Option<unsafe extern "C" fn(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: *mut f64, arg6: *mut f64) -> c_int>,
}
Fields§
§malloc_func: Option<unsafe extern "C" fn(arg1: usize) -> *mut c_void>
§calloc_func: Option<unsafe extern "C" fn(arg1: usize, arg2: usize) -> *mut c_void>
§realloc_func: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: usize) -> *mut c_void>
§free_func: Option<unsafe extern "C" fn(arg1: *mut c_void)>
§printf_func: Option<unsafe extern "C" fn(arg1: *const c_char, ...) -> c_int>
§hypot_func: Option<unsafe extern "C" fn(arg1: f64, arg2: f64) -> f64>
§divcomplex_func: Option<unsafe extern "C" fn(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: *mut f64, arg6: *mut f64) -> c_int>
Trait Implementations§
source§impl Clone for SuiteSparse_config_struct
impl Clone for SuiteSparse_config_struct
source§fn clone(&self) -> SuiteSparse_config_struct
fn clone(&self) -> SuiteSparse_config_struct
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SuiteSparse_config_struct
impl Debug for SuiteSparse_config_struct
impl Copy for SuiteSparse_config_struct
Auto Trait Implementations§
impl Freeze for SuiteSparse_config_struct
impl RefUnwindSafe for SuiteSparse_config_struct
impl Send for SuiteSparse_config_struct
impl Sync for SuiteSparse_config_struct
impl Unpin for SuiteSparse_config_struct
impl UnwindSafe for SuiteSparse_config_struct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more