Enum makepad_widgets::makepad_vector::path::PathCommand
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§
§impl Clone for PathCommand
impl Clone for PathCommand
§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 more§impl Debug for PathCommand
impl Debug for PathCommand
§impl ExtendFromInternalIterator<PathCommand> for Path
impl ExtendFromInternalIterator<PathCommand> for Path
§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
.§impl FromInternalIterator<PathCommand> for Path
impl FromInternalIterator<PathCommand> for Path
§fn from_internal_iter<I>(internal_iter: I) -> Pathwhere
I: IntoInternalIterator<Item = PathCommand>,
fn from_internal_iter<I>(internal_iter: I) -> Pathwhere I: IntoInternalIterator<Item = PathCommand>,
Creates
Self
from an internal iterator. Read more§impl PartialEq<PathCommand> for PathCommand
impl PartialEq<PathCommand> for PathCommand
§fn eq(&self, other: &PathCommand) -> bool
fn eq(&self, other: &PathCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§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 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