#[repr(C)]pub struct reb_particle_opengl {
pub x: f32,
pub y: f32,
pub z: f32,
pub vx: f32,
pub vy: f32,
pub vz: f32,
pub r: f32,
}
Fields§
§x: f32
§y: f32
§z: f32
§vx: f32
§vy: f32
§vz: f32
§r: f32
Trait Implementations§
Source§impl Clone for reb_particle_opengl
impl Clone for reb_particle_opengl
Source§fn clone(&self) -> reb_particle_opengl
fn clone(&self) -> reb_particle_opengl
Returns a duplicate 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 reb_particle_opengl
impl Debug for reb_particle_opengl
impl Copy for reb_particle_opengl
Auto Trait Implementations§
impl Freeze for reb_particle_opengl
impl RefUnwindSafe for reb_particle_opengl
impl Send for reb_particle_opengl
impl Sync for reb_particle_opengl
impl Unpin for reb_particle_opengl
impl UnwindSafe for reb_particle_opengl
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