#[repr(C)]pub struct hkHalf { /* private fields */ }
Expand description
Represents a 16-bit half-precision float with 7-bit precision in the Havok system.
This is a wrapper around a 16-bit integer that stores a compressed float value.
§Memory Layout:
_value
: 16-bit integer storing the half-precision float (0x00 - 0x01)
Implementations§
Trait Implementations§
impl Copy for hkHalf
impl StructuralPartialEq for hkHalf
Auto Trait Implementations§
impl Freeze for hkHalf
impl RefUnwindSafe for hkHalf
impl Send for hkHalf
impl Sync for hkHalf
impl Unpin for hkHalf
impl UnwindSafe for hkHalf
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