#[repr(C)]pub struct reb_display_data {Show 30 fields
pub s: reb_display_settings,
pub r: *mut reb_simulation,
pub r_copy: *mut reb_simulation,
pub screenshot: *mut c_void,
pub particle_data: *mut reb_vec4df,
pub orbit_data: *mut reb_orbit_opengl,
pub N_allocated: u64,
pub mouse_x: f64,
pub mouse_y: f64,
pub retina: f64,
pub take_one_screenshot: c_int,
pub need_copy: c_int,
pub mutex: pthread_mutex_t,
pub compute_thread: pthread_t,
pub breadcrumb_last_steps_done: u64,
pub breadcrumb_N_allocated: c_uint,
pub breadcrumb_current_index: c_uint,
pub mouse_action: c_uint,
pub key_mods: c_uint,
pub particle_buffer: c_uint,
pub particle_buffer_current: c_uint,
pub orbit_buffer: c_uint,
pub orbit_buffer_current: c_uint,
pub window: *mut c_void,
pub shader_simplefont: reb_display_data__bindgen_ty_1,
pub shader_box: reb_display_data__bindgen_ty_2,
pub shader_point: reb_display_data__bindgen_ty_3,
pub shader_sphere: reb_display_data__bindgen_ty_4,
pub shader_orbit: reb_display_data__bindgen_ty_5,
pub shader_plane: reb_display_data__bindgen_ty_6,
}Fields§
§s: reb_display_settings§r: *mut reb_simulation§r_copy: *mut reb_simulation§screenshot: *mut c_void§particle_data: *mut reb_vec4df§orbit_data: *mut reb_orbit_opengl§N_allocated: u64§mouse_x: f64§mouse_y: f64§retina: f64§take_one_screenshot: c_int§need_copy: c_int§mutex: pthread_mutex_t§compute_thread: pthread_t§mouse_action: c_uint§key_mods: c_uint§particle_buffer: c_uint§particle_buffer_current: c_uint§orbit_buffer: c_uint§orbit_buffer_current: c_uint§window: *mut c_void§shader_simplefont: reb_display_data__bindgen_ty_1§shader_box: reb_display_data__bindgen_ty_2§shader_point: reb_display_data__bindgen_ty_3§shader_sphere: reb_display_data__bindgen_ty_4§shader_orbit: reb_display_data__bindgen_ty_5§shader_plane: reb_display_data__bindgen_ty_6Trait Implementations§
Source§impl Clone for reb_display_data
impl Clone for reb_display_data
Source§fn clone(&self) -> reb_display_data
fn clone(&self) -> reb_display_data
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 moreimpl Copy for reb_display_data
Auto Trait Implementations§
impl Freeze for reb_display_data
impl RefUnwindSafe for reb_display_data
impl !Send for reb_display_data
impl !Sync for reb_display_data
impl Unpin for reb_display_data
impl UnsafeUnpin for reb_display_data
impl UnwindSafe for reb_display_data
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