pub struct Vec3 {
pub x: f32,
pub y: f32,
pub z: f32,
}
Expand description
Simple 3d vector.
Fields§
§x: f32
X component.
y: f32
Y component.
z: f32
Z component.
Implementations§
Trait Implementations§
impl Copy for Vec3
Auto Trait Implementations§
impl RefUnwindSafe for Vec3
impl Send for Vec3
impl Sync for Vec3
impl Unpin for Vec3
impl UnwindSafe for Vec3
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