pub enum PathCommand {
MoveTo(Point),
LineTo(Point),
QuadraticTo(Point, Point),
CubicTo(Point, Point, Point),
Close,
}
Expand description
A command in a path
Variants§
Trait Implementations§
Source§impl Clone for PathCommand
impl Clone for PathCommand
Source§fn clone(&self) -> PathCommand
fn clone(&self) -> PathCommand
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 PathCommand
impl Debug for PathCommand
Source§impl ExtendFromInternalIterator<PathCommand> for Path
impl ExtendFromInternalIterator<PathCommand> for Path
Source§fn extend_from_internal_iter<I>(&mut self, internal_iter: I)where
I: IntoInternalIterator<Item = PathCommand>,
fn extend_from_internal_iter<I>(&mut self, internal_iter: I)where
I: IntoInternalIterator<Item = PathCommand>,
Extends
self
with each item of internal_iter
.Source§impl FromInternalIterator<PathCommand> for Path
impl FromInternalIterator<PathCommand> for Path
Source§fn from_internal_iter<I>(internal_iter: I) -> Selfwhere
I: IntoInternalIterator<Item = PathCommand>,
fn from_internal_iter<I>(internal_iter: I) -> Selfwhere
I: IntoInternalIterator<Item = PathCommand>,
Creates
Self
from an internal iterator. Read moreSource§impl PartialEq for PathCommand
impl PartialEq for PathCommand
Source§impl Transform for PathCommand
impl Transform for PathCommand
fn transform<T>(self, t: &T) -> PathCommandwhere
T: Transformation,
fn transform_mut<T>(&mut self, t: &T)where
T: Transformation,
impl Copy for PathCommand
impl StructuralPartialEq for PathCommand
Auto Trait Implementations§
impl Freeze for PathCommand
impl RefUnwindSafe for PathCommand
impl Send for PathCommand
impl Sync for PathCommand
impl Unpin for PathCommand
impl UnwindSafe for PathCommand
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