pub enum ComponentSwizzle {
Undefined,
Zero,
One,
R,
G,
B,
A,
}Variants§
Trait Implementations§
Source§impl Clone for ComponentSwizzle
impl Clone for ComponentSwizzle
Source§fn clone(&self) -> ComponentSwizzle
fn clone(&self) -> ComponentSwizzle
Returns a duplicate 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 ComponentSwizzle
impl Debug for ComponentSwizzle
Source§impl From<ComponentSwizzle> for c_uint
impl From<ComponentSwizzle> for c_uint
Source§fn from(value: ComponentSwizzle) -> Self
fn from(value: ComponentSwizzle) -> Self
Converts to this type from the input type.
Source§impl From<u32> for ComponentSwizzle
impl From<u32> for ComponentSwizzle
Source§impl Hash for ComponentSwizzle
impl Hash for ComponentSwizzle
Source§impl PartialEq for ComponentSwizzle
impl PartialEq for ComponentSwizzle
impl Copy for ComponentSwizzle
impl Eq for ComponentSwizzle
impl StructuralPartialEq for ComponentSwizzle
Auto Trait Implementations§
impl Freeze for ComponentSwizzle
impl RefUnwindSafe for ComponentSwizzle
impl Send for ComponentSwizzle
impl Sync for ComponentSwizzle
impl Unpin for ComponentSwizzle
impl UnsafeUnpin for ComponentSwizzle
impl UnwindSafe for ComponentSwizzle
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