pub struct Vec3 {
pub x: f32,
pub y: f32,
pub z: f32,
}Expand description
3D vector used for extents and offsets.
Fields§
§x: f32X component.
y: f32Y component.
z: f32Z component.
Implementations§
Trait Implementations§
Source§impl ComponentCodec<Vec3> for Vec3LeCodec
impl ComponentCodec<Vec3> for Vec3LeCodec
impl Copy for Vec3
impl StructuralPartialEq for Vec3
Auto Trait Implementations§
impl Freeze for Vec3
impl RefUnwindSafe for Vec3
impl Send for Vec3
impl Sync for Vec3
impl Unpin for Vec3
impl UnsafeUnpin 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