pub struct CommandPathBuilder { /* private fields */ }
Implementations§
Source§impl CommandPathBuilder
impl CommandPathBuilder
pub fn new() -> Self
pub fn move_to(&mut self, p: Vec) -> &mut Self
pub fn line_to(&mut self, p: Vec) -> &mut Self
pub fn cubic_to(&mut self, c0: Vec, c1: Vec, p: Vec) -> &mut Self
pub fn rect(&mut self, p: Vec, size: Vec) -> &mut Self
pub fn path(&mut self, path: &CommandPath, t: Option<Mat>) -> &mut Self
pub fn close(&mut self) -> &mut Self
pub fn build(self) -> CommandPath
Trait Implementations§
Source§impl Clone for CommandPathBuilder
impl Clone for CommandPathBuilder
Source§fn clone(&self) -> CommandPathBuilder
fn clone(&self) -> CommandPathBuilder
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 CommandPathBuilder
impl Debug for CommandPathBuilder
Source§impl Default for CommandPathBuilder
impl Default for CommandPathBuilder
Source§fn default() -> CommandPathBuilder
fn default() -> CommandPathBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CommandPathBuilder
impl RefUnwindSafe for CommandPathBuilder
impl Send for CommandPathBuilder
impl Sync for CommandPathBuilder
impl Unpin for CommandPathBuilder
impl UnwindSafe for CommandPathBuilder
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