Enum core_graphics::path::CGPathElementType
source · #[repr(i32)]pub enum CGPathElementType {
MoveToPoint,
AddLineToPoint,
AddQuadCurveToPoint,
AddCurveToPoint,
CloseSubpath,
}
Variants§
Trait Implementations§
source§impl Clone for CGPathElementType
impl Clone for CGPathElementType
source§fn clone(&self) -> CGPathElementType
fn clone(&self) -> CGPathElementType
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 CGPathElementType
impl Debug for CGPathElementType
source§impl PartialEq<CGPathElementType> for CGPathElementType
impl PartialEq<CGPathElementType> for CGPathElementType
source§fn eq(&self, other: &CGPathElementType) -> bool
fn eq(&self, other: &CGPathElementType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CGPathElementType
impl StructuralPartialEq for CGPathElementType
Auto Trait Implementations§
impl RefUnwindSafe for CGPathElementType
impl Send for CGPathElementType
impl Sync for CGPathElementType
impl Unpin for CGPathElementType
impl UnwindSafe for CGPathElementType
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