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