reb_display_data

Struct reb_display_data 

Source
#[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_void

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.