pub struct Etc2R8g8b8Unorm;
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 Etc2R8g8b8Unorm
impl AsFormat for Etc2R8g8b8Unorm
Source§impl Clone for Etc2R8g8b8Unorm
impl Clone for Etc2R8g8b8Unorm
Source§fn clone(&self) -> Etc2R8g8b8Unorm
fn clone(&self) -> Etc2R8g8b8Unorm
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 Etc2R8g8b8Unorm
impl Debug for Etc2R8g8b8Unorm
Source§impl Hash for Etc2R8g8b8Unorm
impl Hash for Etc2R8g8b8Unorm
Source§impl Ord for Etc2R8g8b8Unorm
impl Ord for Etc2R8g8b8Unorm
Source§fn cmp(&self, other: &Etc2R8g8b8Unorm) -> Ordering
fn cmp(&self, other: &Etc2R8g8b8Unorm) -> 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 Etc2R8g8b8Unorm
impl PartialEq for Etc2R8g8b8Unorm
Source§impl PartialOrd for Etc2R8g8b8Unorm
impl PartialOrd for Etc2R8g8b8Unorm
impl Copy for Etc2R8g8b8Unorm
impl Eq for Etc2R8g8b8Unorm
impl StructuralPartialEq for Etc2R8g8b8Unorm
Auto Trait Implementations§
impl Freeze for Etc2R8g8b8Unorm
impl RefUnwindSafe for Etc2R8g8b8Unorm
impl Send for Etc2R8g8b8Unorm
impl Sync for Etc2R8g8b8Unorm
impl Unpin for Etc2R8g8b8Unorm
impl UnwindSafe for Etc2R8g8b8Unorm
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