Enum jiao::core::path_types::PathVerb
source · #[repr(u8)]pub enum PathVerb {
Move = 0,
Line = 1,
Quad = 2,
Conic = 3,
Cubic = 4,
Close = 5,
}
Variants§
Move = 0
Iter returns 1 point.
Line = 1
Iter returns 2 points
Quad = 2
Iter returns 3 points
Conic = 3
Iter returns 3 points + 1 weight
Cubic = 4
Iter returns 4 points
Close = 5
Iter returns 0 points
Implementations§
Trait Implementations§
source§impl Ord for PathVerb
impl Ord for PathVerb
source§impl PartialEq for PathVerb
impl PartialEq for PathVerb
source§impl PartialOrd for PathVerb
impl PartialOrd for PathVerb
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PathVerb
impl Eq for PathVerb
impl StructuralPartialEq for PathVerb
Auto Trait Implementations§
impl Freeze for PathVerb
impl RefUnwindSafe for PathVerb
impl Send for PathVerb
impl Sync for PathVerb
impl Unpin for PathVerb
impl UnwindSafe for PathVerb
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