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