Struct rust_raylib::ffi::Vector4
source · #[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 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