#[repr(C)]pub struct Vector4 {
pub x: c_float,
pub y: c_float,
pub z: c_float,
pub w: c_float,
}
Expand description
Vector4, 4 components
Fields§
§x: c_float
Vector x component
y: c_float
Vector y component
z: c_float
Vector z component
w: c_float
Vector w component
Trait Implementations§
Source§impl From<Quaternion<f32>> for Vector4
impl From<Quaternion<f32>> for Vector4
Source§fn from(val: Quaternion) -> Self
fn from(val: Quaternion) -> Self
Converts to this type from the input type.
Source§impl From<Vector4> for Quaternion
impl From<Vector4> for Quaternion
Auto Trait Implementations§
impl Freeze for Vector4
impl RefUnwindSafe for Vector4
impl Send for Vector4
impl Sync for Vector4
impl Unpin for Vector4
impl UnwindSafe for Vector4
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