#[repr(C)]pub struct Quaternion { /* private fields */ }
Implementations§
Source§impl Quaternion
impl Quaternion
pub fn dot(&self, other: &Quaternion) -> f64
Source§impl Quaternion
impl Quaternion
pub fn AngularDistance(&self, other: &Quaternion) -> f64
Source§impl Quaternion
impl Quaternion
pub fn squared_norm(&self) -> f64
Trait Implementations§
Source§impl ExternType for Quaternion
impl ExternType for Quaternion
impl UniquePtrTarget for Quaternion
Auto Trait Implementations§
impl Freeze for Quaternion
impl RefUnwindSafe for Quaternion
impl !Send for Quaternion
impl !Sync for Quaternion
impl !Unpin for Quaternion
impl UnwindSafe for Quaternion
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