#[repr(u8)]pub enum SkPathFillType {
Winding = 0,
EvenOdd = 1,
InverseWinding = 2,
InverseEvenOdd = 3,
}Variants§
Implementations§
Source§impl SkPathFillType
impl SkPathFillType
pub fn is_even_odd(self) -> bool
pub fn is_inverse(self) -> bool
pub fn to_non_inverse(self) -> Self
pub fn toggle_inverse(self) -> Self
Source§impl SkPathFillType
impl SkPathFillType
pub const Default: SkPathFillType = SkPathFillType::Winding
Trait Implementations§
Source§impl Clone for SkPathFillType
impl Clone for SkPathFillType
Source§fn clone(&self) -> SkPathFillType
fn clone(&self) -> SkPathFillType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SkPathFillType
impl Debug for SkPathFillType
Source§impl Default for SkPathFillType
impl Default for SkPathFillType
Source§impl Hash for SkPathFillType
impl Hash for SkPathFillType
Source§impl PartialEq for SkPathFillType
impl PartialEq for SkPathFillType
Source§fn eq(&self, other: &SkPathFillType) -> bool
fn eq(&self, other: &SkPathFillType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SkPathFillType
impl Eq for SkPathFillType
impl StructuralPartialEq for SkPathFillType
Auto Trait Implementations§
impl Freeze for SkPathFillType
impl RefUnwindSafe for SkPathFillType
impl Send for SkPathFillType
impl Sync for SkPathFillType
impl Unpin for SkPathFillType
impl UnsafeUnpin for SkPathFillType
impl UnwindSafe for SkPathFillType
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