pub enum LinePathCommand {
MoveTo(Point),
LineTo(Point),
Close,
}
Expand description
A command in a line path
Variants§
Trait Implementations§
§impl Clone for LinePathCommand
impl Clone for LinePathCommand
§fn clone(&self) -> LinePathCommand
fn clone(&self) -> LinePathCommand
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 LinePathCommand
impl Debug for LinePathCommand
§impl ExtendFromInternalIterator<LinePathCommand> for LinePath
impl ExtendFromInternalIterator<LinePathCommand> for LinePath
§fn extend_from_internal_iter<I>(&mut self, internal_iter: I)where
I: IntoInternalIterator<Item = LinePathCommand>,
fn extend_from_internal_iter<I>(&mut self, internal_iter: I)where I: IntoInternalIterator<Item = LinePathCommand>,
Extends
self
with each item of internal_iter
.§impl FromInternalIterator<LinePathCommand> for LinePath
impl FromInternalIterator<LinePathCommand> for LinePath
§fn from_internal_iter<I>(internal_iter: I) -> LinePathwhere
I: IntoInternalIterator<Item = LinePathCommand>,
fn from_internal_iter<I>(internal_iter: I) -> LinePathwhere I: IntoInternalIterator<Item = LinePathCommand>,
Creates
Self
from an internal iterator. Read more§impl PartialEq<LinePathCommand> for LinePathCommand
impl PartialEq<LinePathCommand> for LinePathCommand
§fn eq(&self, other: &LinePathCommand) -> bool
fn eq(&self, other: &LinePathCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Transform for LinePathCommand
impl Transform for LinePathCommand
fn transform<T>(self, t: &T) -> LinePathCommandwhere T: Transformation,
fn transform_mut<T>(&mut self, t: &T)where T: Transformation,
impl Copy for LinePathCommand
impl StructuralPartialEq for LinePathCommand
Auto Trait Implementations§
impl RefUnwindSafe for LinePathCommand
impl Send for LinePathCommand
impl Sync for LinePathCommand
impl Unpin for LinePathCommand
impl UnwindSafe for LinePathCommand
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