#[repr(C)]pub struct Vec4h {
pub x: f16,
pub y: f16,
pub z: f16,
pub w: f16,
}Expand description
4-component half-precision float vector (GfVec4h).
Fields§
§x: f16§y: f16§z: f16§w: f16Implementations§
Trait Implementations§
Source§impl AddAssign for Vec4h
impl AddAssign for Vec4h
Source§fn add_assign(&mut self, __rhs: Self)
fn add_assign(&mut self, __rhs: Self)
Performs the
+= operation. Read moreimpl Copy for Vec4h
Source§impl<__derive_more_Rhs> MulAssign<__derive_more_Rhs> for Vec4h
impl<__derive_more_Rhs> MulAssign<__derive_more_Rhs> for Vec4h
Source§fn mul_assign(&mut self, __rhs: __derive_more_Rhs)
fn mul_assign(&mut self, __rhs: __derive_more_Rhs)
Performs the
*= operation. Read moreimpl Pod for Vec4h
impl StructuralPartialEq for Vec4h
Source§impl SubAssign for Vec4h
impl SubAssign for Vec4h
Source§fn sub_assign(&mut self, __rhs: Self)
fn sub_assign(&mut self, __rhs: Self)
Performs the
-= operation. Read moreAuto Trait Implementations§
impl Freeze for Vec4h
impl RefUnwindSafe for Vec4h
impl Send for Vec4h
impl Sync for Vec4h
impl Unpin for Vec4h
impl UnsafeUnpin for Vec4h
impl UnwindSafe for Vec4h
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.