#[repr(C)]pub struct _generic_SUNAdaptController_Ops {
pub gettype: Option<unsafe extern "C" fn(C: SUNAdaptController) -> SUNAdaptController_Type>,
pub estimatestep: Option<unsafe extern "C" fn(C: SUNAdaptController, h: sunrealtype, p: c_int, dsm: sunrealtype, hnew: *mut sunrealtype) -> SUNErrCode>,
pub destroy: Option<unsafe extern "C" fn(C: SUNAdaptController) -> SUNErrCode>,
pub reset: Option<unsafe extern "C" fn(C: SUNAdaptController) -> SUNErrCode>,
pub setdefaults: Option<unsafe extern "C" fn(C: SUNAdaptController) -> SUNErrCode>,
pub write: Option<unsafe extern "C" fn(C: SUNAdaptController, fptr: *mut FILE) -> SUNErrCode>,
pub seterrorbias: Option<unsafe extern "C" fn(C: SUNAdaptController, bias: sunrealtype) -> SUNErrCode>,
pub updateh: Option<unsafe extern "C" fn(C: SUNAdaptController, h: sunrealtype, dsm: sunrealtype) -> SUNErrCode>,
pub space: Option<unsafe extern "C" fn(C: SUNAdaptController, lenrw: *mut c_long, leniw: *mut c_long) -> SUNErrCode>,
}
Fields§
§gettype: Option<unsafe extern "C" fn(C: SUNAdaptController) -> SUNAdaptController_Type>
§estimatestep: Option<unsafe extern "C" fn(C: SUNAdaptController, h: sunrealtype, p: c_int, dsm: sunrealtype, hnew: *mut sunrealtype) -> SUNErrCode>
§destroy: Option<unsafe extern "C" fn(C: SUNAdaptController) -> SUNErrCode>
§reset: Option<unsafe extern "C" fn(C: SUNAdaptController) -> SUNErrCode>
§setdefaults: Option<unsafe extern "C" fn(C: SUNAdaptController) -> SUNErrCode>
§write: Option<unsafe extern "C" fn(C: SUNAdaptController, fptr: *mut FILE) -> SUNErrCode>
§seterrorbias: Option<unsafe extern "C" fn(C: SUNAdaptController, bias: sunrealtype) -> SUNErrCode>
§updateh: Option<unsafe extern "C" fn(C: SUNAdaptController, h: sunrealtype, dsm: sunrealtype) -> SUNErrCode>
§space: Option<unsafe extern "C" fn(C: SUNAdaptController, lenrw: *mut c_long, leniw: *mut c_long) -> SUNErrCode>
Trait Implementations§
source§impl Clone for _generic_SUNAdaptController_Ops
impl Clone for _generic_SUNAdaptController_Ops
source§fn clone(&self) -> _generic_SUNAdaptController_Ops
fn clone(&self) -> _generic_SUNAdaptController_Ops
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 moreimpl Copy for _generic_SUNAdaptController_Ops
Auto Trait Implementations§
impl Freeze for _generic_SUNAdaptController_Ops
impl RefUnwindSafe for _generic_SUNAdaptController_Ops
impl Send for _generic_SUNAdaptController_Ops
impl Sync for _generic_SUNAdaptController_Ops
impl Unpin for _generic_SUNAdaptController_Ops
impl UnwindSafe for _generic_SUNAdaptController_Ops
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)