#[repr(C)]pub struct ComponentMapping {
pub r: ComponentSwizzle,
pub g: ComponentSwizzle,
pub b: ComponentSwizzle,
pub a: ComponentSwizzle,
}
Fields§
§r: ComponentSwizzle
§g: ComponentSwizzle
§b: ComponentSwizzle
§a: ComponentSwizzle
Trait Implementations§
Source§impl Clone for ComponentMapping
impl Clone for ComponentMapping
Source§fn clone(&self) -> ComponentMapping
fn clone(&self) -> ComponentMapping
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for ComponentMapping
Auto Trait Implementations§
impl Freeze for ComponentMapping
impl RefUnwindSafe for ComponentMapping
impl Send for ComponentMapping
impl Sync for ComponentMapping
impl Unpin for ComponentMapping
impl UnwindSafe for ComponentMapping
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