Enum usvgr::PathCommand
source · pub enum PathCommand {
MoveTo,
LineTo,
CurveTo,
ClosePath,
}Expand description
A path command.
Variants§
Trait Implementations§
source§impl Clone for PathCommand
impl Clone for PathCommand
source§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 moresource§impl Debug for PathCommand
impl Debug for PathCommand
source§impl Hash for PathCommand
impl Hash for PathCommand
source§impl PartialEq for PathCommand
impl PartialEq for PathCommand
source§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 ==.source§impl ToTokens for PathCommand
impl ToTokens for PathCommand
source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Copy for PathCommand
impl Eq for PathCommand
impl StructuralPartialEq for PathCommand
Auto Trait Implementations§
impl Freeze for PathCommand
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