pub enum SimplePathSegment {
MoveTo {
x: f64,
y: f64,
},
LineTo {
x: f64,
y: f64,
},
CurveTo {
x1: f64,
y1: f64,
x2: f64,
y2: f64,
x: f64,
y: f64,
},
Quadratic {
x1: f64,
y1: f64,
x: f64,
y: f64,
},
ClosePath,
}
Expand description
Representation of a simple path segment.
Variants§
Trait Implementations§
source§impl Clone for SimplePathSegment
impl Clone for SimplePathSegment
source§fn clone(&self) -> SimplePathSegment
fn clone(&self) -> SimplePathSegment
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 SimplePathSegment
impl Debug for SimplePathSegment
source§impl PartialEq for SimplePathSegment
impl PartialEq for SimplePathSegment
impl Copy for SimplePathSegment
impl StructuralPartialEq for SimplePathSegment
Auto Trait Implementations§
impl Freeze for SimplePathSegment
impl RefUnwindSafe for SimplePathSegment
impl Send for SimplePathSegment
impl Sync for SimplePathSegment
impl Unpin for SimplePathSegment
impl UnwindSafe for SimplePathSegment
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
)