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