pub enum LineCommand {
MoveTo(Point),
LineTo(Point),
Close,
}Expand description
A command in a line path
Variants§
Trait Implementations§
Source§impl Clone for LineCommand
impl Clone for LineCommand
Source§fn clone(&self) -> LineCommand
fn clone(&self) -> LineCommand
Returns a duplicate 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 LineCommand
impl Debug for LineCommand
Source§impl PartialEq for LineCommand
impl PartialEq for LineCommand
Source§impl Transform for LineCommand
impl Transform for LineCommand
fn transform(self, t: &impl Transformation) -> Self
fn transform_mut(&mut self, t: &impl Transformation)
impl Copy for LineCommand
impl StructuralPartialEq for LineCommand
Auto Trait Implementations§
impl Freeze for LineCommand
impl RefUnwindSafe for LineCommand
impl Send for LineCommand
impl Sync for LineCommand
impl Unpin for LineCommand
impl UnwindSafe for LineCommand
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