#[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: ComponentSwizzle
Implementations§
Source§impl ComponentMapping
impl ComponentMapping
pub fn builder<'a>() -> ComponentMappingBuilder<'a>
Trait Implementations§
Source§impl Clone for ComponentMapping
impl Clone for ComponentMapping
Source§fn clone(&self) -> ComponentMapping
fn clone(&self) -> ComponentMapping
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 ComponentMapping
impl Debug for ComponentMapping
Source§impl Default for ComponentMapping
impl Default for ComponentMapping
Source§fn default() -> ComponentMapping
fn default() -> ComponentMapping
Returns the “default value” for a type. Read more
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 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
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
)