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