#[repr(C)]pub struct ComponentMapping {
pub r: ComponentSwizzle,
pub g: ComponentSwizzle,
pub b: ComponentSwizzle,
pub a: ComponentSwizzle,
}Expand description
Fields§
§r: ComponentSwizzle§g: ComponentSwizzle§b: ComponentSwizzle§a: ComponentSwizzleImplementations§
Source§impl ComponentMapping
impl ComponentMapping
pub fn r(self, r: ComponentSwizzle) -> Self
pub fn g(self, g: ComponentSwizzle) -> Self
pub fn b(self, b: ComponentSwizzle) -> Self
pub fn a(self, a: ComponentSwizzle) -> Self
Trait Implementations§
Source§impl Clone for ComponentMapping
impl Clone for ComponentMapping
impl 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 UnsafeUnpin 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