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