Enum freya_engine::prelude::PathFillType
#[repr(i32)]pub enum PathFillType {
Winding = 0,
EvenOdd = 1,
InverseWinding = 2,
InverseEvenOdd = 3,
}
Variants§
Implementations§
§impl SkPathFillType
impl SkPathFillType
pub fn is_even_odd(self) -> bool
pub fn is_inverse(self) -> bool
pub fn to_non_inverse(self) -> SkPathFillType
Trait Implementations§
§impl Clone for SkPathFillType
impl Clone for SkPathFillType
§fn clone(&self) -> SkPathFillType
fn clone(&self) -> SkPathFillType
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 SkPathFillType
impl Debug for SkPathFillType
§impl Hash for SkPathFillType
impl Hash for SkPathFillType
§impl PartialEq for SkPathFillType
impl PartialEq for SkPathFillType
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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)