pub struct Etc2R8g8b8a1Unorm;
Expand description
A struct equivalent to the matching Format
enum member, which allows
an API to be strongly typed on particular formats.
Trait Implementations§
Source§impl AsFormat for Etc2R8g8b8a1Unorm
impl AsFormat for Etc2R8g8b8a1Unorm
Source§impl Clone for Etc2R8g8b8a1Unorm
impl Clone for Etc2R8g8b8a1Unorm
Source§fn clone(&self) -> Etc2R8g8b8a1Unorm
fn clone(&self) -> Etc2R8g8b8a1Unorm
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 Etc2R8g8b8a1Unorm
impl Debug for Etc2R8g8b8a1Unorm
Source§impl Hash for Etc2R8g8b8a1Unorm
impl Hash for Etc2R8g8b8a1Unorm
Source§impl Ord for Etc2R8g8b8a1Unorm
impl Ord for Etc2R8g8b8a1Unorm
Source§fn cmp(&self, other: &Etc2R8g8b8a1Unorm) -> Ordering
fn cmp(&self, other: &Etc2R8g8b8a1Unorm) -> 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 Etc2R8g8b8a1Unorm
impl PartialEq for Etc2R8g8b8a1Unorm
Source§impl PartialOrd for Etc2R8g8b8a1Unorm
impl PartialOrd for Etc2R8g8b8a1Unorm
impl Copy for Etc2R8g8b8a1Unorm
impl Eq for Etc2R8g8b8a1Unorm
impl StructuralPartialEq for Etc2R8g8b8a1Unorm
Auto Trait Implementations§
impl Freeze for Etc2R8g8b8a1Unorm
impl RefUnwindSafe for Etc2R8g8b8a1Unorm
impl Send for Etc2R8g8b8a1Unorm
impl Sync for Etc2R8g8b8a1Unorm
impl Unpin for Etc2R8g8b8a1Unorm
impl UnwindSafe for Etc2R8g8b8a1Unorm
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