Struct vulkanalia::vk::ComponentMapping
source · #[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
Trait Implementations§
source§impl Cast for ComponentMapping
impl Cast for ComponentMapping
§type Target = ComponentMapping
type Target = ComponentMapping
The other type this type can be used interchangeably with in FFI.
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
source§impl HasBuilder<'static> for ComponentMapping
impl HasBuilder<'static> for ComponentMapping
source§impl Hash for ComponentMapping
impl Hash for ComponentMapping
source§impl PartialEq<ComponentMapping> for ComponentMapping
impl PartialEq<ComponentMapping> for ComponentMapping
source§fn eq(&self, other: &ComponentMapping) -> bool
fn eq(&self, other: &ComponentMapping) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ComponentMapping
impl Eq for ComponentMapping
impl StructuralEq for ComponentMapping
impl StructuralPartialEq for ComponentMapping
Auto Trait Implementations§
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