#[repr(C)]pub struct Quat<T> {
pub x: T,
pub y: T,
pub z: T,
pub w: T,
}Expand description
Quaternion.
Fields§
§x: T§y: T§z: T§w: TImplementations§
Trait Implementations§
impl<T: Copy> Copy for Quat<T>
impl<T: PartialEq> StructuralPartialEq for Quat<T>
Auto Trait Implementations§
impl<T> Freeze for Quat<T>where
T: Freeze,
impl<T> RefUnwindSafe for Quat<T>where
T: RefUnwindSafe,
impl<T> Send for Quat<T>where
T: Send,
impl<T> Sync for Quat<T>where
T: Sync,
impl<T> Unpin for Quat<T>where
T: Unpin,
impl<T> UnsafeUnpin for Quat<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Quat<T>where
T: UnwindSafe,
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