Struct ash::vk::enums::ComponentSwizzle
source · #[repr(transparent)]pub struct ComponentSwizzle(pub(crate) i32);
Expand description
Tuple Fields§
§0: i32
Implementations§
Trait Implementations§
source§impl Clone for ComponentSwizzle
impl Clone for ComponentSwizzle
source§fn clone(&self) -> ComponentSwizzle
fn clone(&self) -> ComponentSwizzle
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 ComponentSwizzle
impl Debug for ComponentSwizzle
source§impl Default for ComponentSwizzle
impl Default for ComponentSwizzle
source§fn default() -> ComponentSwizzle
fn default() -> ComponentSwizzle
Returns the “default value” for a type. Read more
source§impl Hash for ComponentSwizzle
impl Hash for ComponentSwizzle
source§impl Ord for ComponentSwizzle
impl Ord for ComponentSwizzle
source§fn cmp(&self, other: &ComponentSwizzle) -> Ordering
fn cmp(&self, other: &ComponentSwizzle) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ComponentSwizzle
impl PartialEq for ComponentSwizzle
source§fn eq(&self, other: &ComponentSwizzle) -> bool
fn eq(&self, other: &ComponentSwizzle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ComponentSwizzle
impl PartialOrd for ComponentSwizzle
source§fn partial_cmp(&self, other: &ComponentSwizzle) -> Option<Ordering>
fn partial_cmp(&self, other: &ComponentSwizzle) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl 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 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