Struct pixel_game_lib::vec::ShuffleMask4  
source · pub struct ShuffleMask4(/* private fields */);Expand description
Opaque type wrapping a hardware-preferred shuffle mask format for 4D vectors.
Implementations§
Trait Implementations§
source§impl Clone for ShuffleMask4
 
impl Clone for ShuffleMask4
source§fn clone(&self) -> ShuffleMask4
 
fn clone(&self) -> ShuffleMask4
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 ShuffleMask4
 
impl Debug for ShuffleMask4
source§impl From<usize> for ShuffleMask4
 
impl From<usize> for ShuffleMask4
A ShuffleMask4 can be obtained by using the same index for all elements of the result.
source§fn from(m: usize) -> ShuffleMask4
 
fn from(m: usize) -> ShuffleMask4
Converts to this type from the input type.
source§impl Hash for ShuffleMask4
 
impl Hash for ShuffleMask4
source§impl PartialEq for ShuffleMask4
 
impl PartialEq for ShuffleMask4
source§fn eq(&self, other: &ShuffleMask4) -> bool
 
fn eq(&self, other: &ShuffleMask4) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for ShuffleMask4
impl Eq for ShuffleMask4
impl StructuralEq for ShuffleMask4
impl StructuralPartialEq for ShuffleMask4
Auto Trait Implementations§
impl RefUnwindSafe for ShuffleMask4
impl Send for ShuffleMask4
impl Sync for ShuffleMask4
impl Unpin for ShuffleMask4
impl UnwindSafe for ShuffleMask4
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<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more