Enum AlphaType
#[repr(i32)]pub enum AlphaType {
Unknown = 0,
Opaque = 1,
Premul = 2,
Unpremul = 3,
}
Variants§
Implementations§
§impl SkAlphaType
impl SkAlphaType
pub const LastEnum: SkAlphaType = SkAlphaType::Unpremul
§impl SkAlphaType
impl SkAlphaType
Trait Implementations§
§impl Clone for SkAlphaType
impl Clone for SkAlphaType
§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 more§impl Debug for SkAlphaType
impl Debug for SkAlphaType
§impl Hash for SkAlphaType
impl Hash for SkAlphaType
§impl PartialEq for SkAlphaType
impl PartialEq for SkAlphaType
impl Copy for SkAlphaType
impl Eq for SkAlphaType
impl StructuralPartialEq for SkAlphaType
Auto Trait Implementations§
impl Freeze for SkAlphaType
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