#[repr(C)]pub struct reb_display_data {Show 54 fields
pub r: *mut reb_simulation,
pub r_copy: *mut reb_simulation,
pub particle_data: *mut reb_particle_opengl,
pub orbit_data: *mut reb_orbit_opengl,
pub N_allocated: u64,
pub scale: f64,
pub mouse_scale: f64,
pub mouse_x: f64,
pub mouse_y: f64,
pub retina: f64,
pub need_copy: c_int,
pub mutex: pthread_mutex_t,
pub compute_thread: pthread_t,
pub spheres: c_int,
pub pause: c_int,
pub wire: c_int,
pub onscreentext: c_int,
pub onscreenhelp: c_int,
pub multisample: c_int,
pub clear: c_int,
pub ghostboxes: c_int,
pub reference: c_int,
pub mouse_action: c_uint,
pub key_mods: c_uint,
pub view: reb_rotation,
pub simplefont_tex: c_uint,
pub simplefont_shader_program: c_uint,
pub simplefont_shader_vao: c_uint,
pub simplefont_shader_pos_location: c_uint,
pub simplefont_shader_ypos_location: c_uint,
pub simplefont_shader_scale_location: c_uint,
pub simplefont_shader_aspect_location: c_uint,
pub simplefont_shader_screen_aspect_location: c_uint,
pub simplefont_shader_charval_buffer: c_uint,
pub box_shader_program: c_uint,
pub box_shader_box_vao: c_uint,
pub box_shader_cross_vao: c_uint,
pub box_shader_mvp_location: c_uint,
pub box_shader_color_location: c_uint,
pub point_shader_mvp_location: c_uint,
pub point_shader_color_location: c_uint,
pub point_shader_program: c_uint,
pub point_shader_particle_vao: c_uint,
pub sphere_shader_mvp_location: c_uint,
pub sphere_shader_program: c_uint,
pub sphere_shader_particle_vao: c_uint,
pub sphere_shader_vertex_count: c_uint,
pub orbit_shader_mvp_location: c_uint,
pub orbit_shader_program: c_uint,
pub orbit_shader_particle_vao: c_uint,
pub orbit_shader_vertex_count: c_uint,
pub particle_buffer: c_uint,
pub orbit_buffer: c_uint,
pub window: *mut c_void,
}Fields§
§r: *mut reb_simulation§r_copy: *mut reb_simulation§particle_data: *mut reb_particle_opengl§orbit_data: *mut reb_orbit_opengl§N_allocated: u64§scale: f64§mouse_scale: f64§mouse_x: f64§mouse_y: f64§retina: f64§need_copy: c_int§mutex: pthread_mutex_t§compute_thread: pthread_t§spheres: c_int§pause: c_int§wire: c_int§onscreentext: c_int§onscreenhelp: c_int§multisample: c_int§clear: c_int§ghostboxes: c_int§reference: c_int§mouse_action: c_uint§key_mods: c_uint§view: reb_rotation§simplefont_tex: c_uint§simplefont_shader_program: c_uint§simplefont_shader_vao: c_uint§simplefont_shader_pos_location: c_uint§simplefont_shader_ypos_location: c_uint§simplefont_shader_scale_location: c_uint§simplefont_shader_aspect_location: c_uint§simplefont_shader_screen_aspect_location: c_uint§simplefont_shader_charval_buffer: c_uint§box_shader_program: c_uint§box_shader_box_vao: c_uint§box_shader_cross_vao: c_uint§box_shader_mvp_location: c_uint§box_shader_color_location: c_uint§point_shader_mvp_location: c_uint§point_shader_color_location: c_uint§point_shader_program: c_uint§point_shader_particle_vao: c_uint§sphere_shader_mvp_location: c_uint§sphere_shader_program: c_uint§sphere_shader_particle_vao: c_uint§sphere_shader_vertex_count: c_uint§orbit_shader_mvp_location: c_uint§orbit_shader_program: c_uint§orbit_shader_particle_vao: c_uint§orbit_shader_vertex_count: c_uint§particle_buffer: c_uint§orbit_buffer: c_uint§window: *mut c_voidAuto 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 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