#[repr(u8)]pub enum SwizzleComponent {
X = 0,
Y = 1,
Z = 2,
W = 3,
}
Expand description
Component selection for a vector swizzle.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SwizzleComponent
impl Clone for SwizzleComponent
Source§fn clone(&self) -> SwizzleComponent
fn clone(&self) -> SwizzleComponent
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 SwizzleComponent
impl Debug for SwizzleComponent
Source§impl PartialEq for SwizzleComponent
impl PartialEq for SwizzleComponent
Source§impl PartialOrd for SwizzleComponent
impl PartialOrd for SwizzleComponent
impl Copy for SwizzleComponent
impl StructuralPartialEq for SwizzleComponent
Auto Trait Implementations§
impl Freeze for SwizzleComponent
impl RefUnwindSafe for SwizzleComponent
impl Send for SwizzleComponent
impl Sync for SwizzleComponent
impl Unpin for SwizzleComponent
impl UnwindSafe for SwizzleComponent
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§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
)