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