pub enum LinePathCommand {
MoveTo(Point),
LineTo(Point),
Close,
}
Expand description
A command in a line path
Variants§
Trait Implementations§
Source§impl Clone for LinePathCommand
impl Clone for LinePathCommand
Source§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 moreSource§impl Debug for LinePathCommand
impl Debug for LinePathCommand
Source§impl ExtendFromInternalIterator<LinePathCommand> for LinePath
impl ExtendFromInternalIterator<LinePathCommand> for LinePath
Source§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
.Source§impl FromInternalIterator<LinePathCommand> for LinePath
impl FromInternalIterator<LinePathCommand> for LinePath
Source§fn from_internal_iter<I>(internal_iter: I) -> Selfwhere
I: IntoInternalIterator<Item = LinePathCommand>,
fn from_internal_iter<I>(internal_iter: I) -> Selfwhere
I: IntoInternalIterator<Item = LinePathCommand>,
Creates
Self
from an internal iterator. Read moreSource§impl PartialEq for LinePathCommand
impl PartialEq for LinePathCommand
Source§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 Freeze for LinePathCommand
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