#[repr(i32)]pub enum GrColorTypeEncoding {
kUnorm,
kSRGBUnorm,
kFloat,
}
Variants§
Trait Implementations§
source§impl Clone for GrColorTypeEncoding
impl Clone for GrColorTypeEncoding
source§fn clone(&self) -> GrColorTypeEncoding
fn clone(&self) -> GrColorTypeEncoding
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 GrColorTypeEncoding
impl Debug for GrColorTypeEncoding
source§impl Hash for GrColorTypeEncoding
impl Hash for GrColorTypeEncoding
source§impl PartialEq<GrColorTypeEncoding> for GrColorTypeEncoding
impl PartialEq<GrColorTypeEncoding> for GrColorTypeEncoding
source§fn eq(&self, other: &GrColorTypeEncoding) -> bool
fn eq(&self, other: &GrColorTypeEncoding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GrColorTypeEncoding
impl Eq for GrColorTypeEncoding
impl StructuralEq for GrColorTypeEncoding
impl StructuralPartialEq for GrColorTypeEncoding
Auto Trait Implementations§
impl RefUnwindSafe for GrColorTypeEncoding
impl Send for GrColorTypeEncoding
impl Sync for GrColorTypeEncoding
impl Unpin for GrColorTypeEncoding
impl UnwindSafe for GrColorTypeEncoding
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