#[repr(C)]pub struct reb_integrator {
pub documentation: *mut c_char,
pub step: Option<unsafe extern "C" fn(r: *mut reb_simulation, p: *mut c_void)>,
pub synchronize: Option<unsafe extern "C" fn(r: *mut reb_simulation, p: *mut c_void)>,
pub create: Option<unsafe extern "C" fn() -> *mut c_void>,
pub free: Option<unsafe extern "C" fn(p: *mut c_void)>,
pub did_add_particle: Option<unsafe extern "C" fn(r: *mut reb_simulation)>,
pub will_remove_particle: Option<unsafe extern "C" fn(r: *mut reb_simulation, index: usize)>,
pub field_descriptor_list: *const reb_binarydata_field_descriptor,
}Fields§
§documentation: *mut c_char§step: Option<unsafe extern "C" fn(r: *mut reb_simulation, p: *mut c_void)>§synchronize: Option<unsafe extern "C" fn(r: *mut reb_simulation, p: *mut c_void)>§create: Option<unsafe extern "C" fn() -> *mut c_void>§free: Option<unsafe extern "C" fn(p: *mut c_void)>§did_add_particle: Option<unsafe extern "C" fn(r: *mut reb_simulation)>§will_remove_particle: Option<unsafe extern "C" fn(r: *mut reb_simulation, index: usize)>§field_descriptor_list: *const reb_binarydata_field_descriptorTrait Implementations§
Source§impl Clone for reb_integrator
impl Clone for reb_integrator
Source§fn clone(&self) -> reb_integrator
fn clone(&self) -> reb_integrator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 reb_integrator
impl Debug for reb_integrator
impl Copy for reb_integrator
Auto Trait Implementations§
impl Freeze for reb_integrator
impl RefUnwindSafe for reb_integrator
impl !Send for reb_integrator
impl !Sync for reb_integrator
impl Unpin for reb_integrator
impl UnsafeUnpin for reb_integrator
impl UnwindSafe for reb_integrator
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