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