pub enum SwizzleComponent {
X = 0,
Y = 1,
Z = 2,
W = 3,
}Expand description
A vector swizzle component.
Variants§
Trait Implementations§
Source§impl Clone for SwizzleComponent
impl Clone for SwizzleComponent
Source§fn clone(&self) -> SwizzleComponent
fn clone(&self) -> SwizzleComponent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SwizzleComponent
Source§impl Debug for SwizzleComponent
impl Debug for SwizzleComponent
Source§impl Display for SwizzleComponent
impl Display for SwizzleComponent
impl Eq for SwizzleComponent
Source§impl Hash for SwizzleComponent
impl Hash for SwizzleComponent
Source§impl PartialEq for SwizzleComponent
impl PartialEq 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 UnsafeUnpin 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