Enum makepad_vector::path::PathCommand
source · [−]Expand description
A command in a path
Variants
MoveTo(Point)
LineTo(Point)
QuadraticTo(Point, Point)
Close
Trait Implementations
sourceimpl Clone for PathCommand
impl Clone for PathCommand
sourcefn clone(&self) -> PathCommand
fn clone(&self) -> PathCommand
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PathCommand
impl Debug for PathCommand
sourceimpl ExtendFromInternalIterator<PathCommand> for Path
impl ExtendFromInternalIterator<PathCommand> for Path
sourcefn 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
.sourceimpl FromInternalIterator<PathCommand> for Path
impl FromInternalIterator<PathCommand> for Path
sourcefn 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 moresourceimpl PartialEq<PathCommand> for PathCommand
impl PartialEq<PathCommand> for PathCommand
sourcefn eq(&self, other: &PathCommand) -> bool
fn eq(&self, other: &PathCommand) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more