pub struct Vector {
pub x: f32,
pub y: f32,
pub z: f32,
}
Expand description
Structure describing a point in 3D space.
Fields§
§x: f32
X co-ordinate in 3D space.
y: f32
Y co-ordinate in 3D space.
z: f32
Z co-ordinate in 3D space.
Implementations§
Trait Implementations§
impl Copy for Vector
Auto Trait Implementations§
impl Freeze for Vector
impl RefUnwindSafe for Vector
impl Send for Vector
impl Sync for Vector
impl Unpin for Vector
impl UnwindSafe for Vector
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