#[repr(align(16))]pub struct TVec4<T: Real> { /* private fields */ }
Expand description
A generic 4 component vector
Implementations§
Trait Implementations§
Source§impl<T: Real> AddAssign<T> for TVec4<T>
impl<T: Real> AddAssign<T> for TVec4<T>
Source§fn add_assign(&mut self, rhs: T)
fn add_assign(&mut self, rhs: T)
Performs the
+=
operation. Read moreSource§impl<T: Real> AddAssign for TVec4<T>
impl<T: Real> AddAssign for TVec4<T>
Source§fn add_assign(&mut self, rhs: TVec4<T>)
fn add_assign(&mut self, rhs: TVec4<T>)
Performs the
+=
operation. Read moreSource§impl<T: Real> DivAssign<T> for TVec4<T>
impl<T: Real> DivAssign<T> for TVec4<T>
Source§fn div_assign(&mut self, rhs: T)
fn div_assign(&mut self, rhs: T)
Performs the
/=
operation. Read moreSource§impl<T: Real> DivAssign for TVec4<T>
impl<T: Real> DivAssign for TVec4<T>
Source§fn div_assign(&mut self, rhs: TVec4<T>)
fn div_assign(&mut self, rhs: TVec4<T>)
Performs the
/=
operation. Read moreSource§impl<T: Real> DotProduct<T> for TVec4<T>
impl<T: Real> DotProduct<T> for TVec4<T>
Source§impl<T: Real> IntoDegrees for TVec4<T>
impl<T: Real> IntoDegrees for TVec4<T>
Source§fn into_degrees(self) -> Self
fn into_degrees(self) -> Self
Consume self and return it after converting the internal elements from radians to degrees
Source§impl<T: Real> IntoRadians for TVec4<T>
impl<T: Real> IntoRadians for TVec4<T>
Source§fn into_radians(self) -> Self
fn into_radians(self) -> Self
Consume self and return it after converting the internal elements from degrees to radians
Source§impl<T: Real> IntoSTD140 for TVec4<T>
impl<T: Real> IntoSTD140 for TVec4<T>
Source§impl<T: Real> LengthSquared for TVec4<T>
impl<T: Real> LengthSquared for TVec4<T>
Source§impl<T: Real> MulAssign<T> for TVec4<T>
impl<T: Real> MulAssign<T> for TVec4<T>
Source§fn mul_assign(&mut self, rhs: T)
fn mul_assign(&mut self, rhs: T)
Performs the
*=
operation. Read moreSource§impl<T: Real> MulAssign for TVec4<T>
impl<T: Real> MulAssign for TVec4<T>
Source§fn mul_assign(&mut self, rhs: TVec4<T>)
fn mul_assign(&mut self, rhs: TVec4<T>)
Performs the
*=
operation. Read moreSource§impl<T: Real> NormalizeAssign for TVec4<T>
impl<T: Real> NormalizeAssign for TVec4<T>
fn normalize_assign(&mut self)
Source§impl<T: Real> SubAssign<T> for TVec4<T>
impl<T: Real> SubAssign<T> for TVec4<T>
Source§fn sub_assign(&mut self, rhs: T)
fn sub_assign(&mut self, rhs: T)
Performs the
-=
operation. Read moreSource§impl<T: Real> SubAssign for TVec4<T>
impl<T: Real> SubAssign for TVec4<T>
Source§fn sub_assign(&mut self, rhs: TVec4<T>)
fn sub_assign(&mut self, rhs: TVec4<T>)
Performs the
-=
operation. Read moreimpl<T: Copy + Real> Copy for TVec4<T>
Auto Trait Implementations§
impl<T> Freeze for TVec4<T>where
T: Freeze,
impl<T> RefUnwindSafe for TVec4<T>where
T: RefUnwindSafe,
impl<T> Send for TVec4<T>where
T: Send,
impl<T> Sync for TVec4<T>where
T: Sync,
impl<T> Unpin for TVec4<T>where
T: Unpin,
impl<T> UnwindSafe for TVec4<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