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