Struct normal_pack::EncodedUnitVector3
source · #[repr(C)]pub struct EncodedUnitVector3(/* private fields */);Expand description
A unit vector packed into an [f32; 2]
See the module-level documentation for more details.
Implementations§
Trait Implementations§
source§impl Clone for EncodedUnitVector3
impl Clone for EncodedUnitVector3
source§fn clone(&self) -> EncodedUnitVector3
fn clone(&self) -> EncodedUnitVector3
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for EncodedUnitVector3
impl Debug for EncodedUnitVector3
source§impl PartialEq for EncodedUnitVector3
impl PartialEq for EncodedUnitVector3
source§fn eq(&self, other: &EncodedUnitVector3) -> bool
fn eq(&self, other: &EncodedUnitVector3) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for EncodedUnitVector3
impl StructuralPartialEq for EncodedUnitVector3
Auto Trait Implementations§
impl Freeze for EncodedUnitVector3
impl RefUnwindSafe for EncodedUnitVector3
impl Send for EncodedUnitVector3
impl Sync for EncodedUnitVector3
impl Unpin for EncodedUnitVector3
impl UnwindSafe for EncodedUnitVector3
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)