#[repr(C)]pub struct gsl_function_struct {
pub function: Option<unsafe extern "C" fn(x: f64, params: *mut c_void) -> f64>,
pub params: *mut c_void,
}Fields§
§function: Option<unsafe extern "C" fn(x: f64, params: *mut c_void) -> f64>§params: *mut c_voidTrait Implementations§
Source§impl Clone for gsl_function_struct
impl Clone for gsl_function_struct
Source§fn clone(&self) -> gsl_function_struct
fn clone(&self) -> gsl_function_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 gsl_function_struct
impl Debug for gsl_function_struct
impl Copy for gsl_function_struct
Auto Trait Implementations§
impl Freeze for gsl_function_struct
impl RefUnwindSafe for gsl_function_struct
impl !Send for gsl_function_struct
impl !Sync for gsl_function_struct
impl Unpin for gsl_function_struct
impl UnwindSafe for gsl_function_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