pub struct PathBuilder { /* private fields */ }Implementations§
Source§impl PathBuilder
impl PathBuilder
pub fn new() -> Self
pub fn move_to(self, x: f64, y: f64) -> Self
pub fn line_to(self, x: f64, y: f64) -> Self
pub fn curve_to( self, x1: f64, y1: f64, x2: f64, y2: f64, x3: f64, y3: f64, ) -> Self
pub fn rectangle(self, x: f64, y: f64, width: f64, height: f64) -> Self
pub fn close(self) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathBuilder
impl RefUnwindSafe for PathBuilder
impl Send for PathBuilder
impl Sync for PathBuilder
impl Unpin for PathBuilder
impl UnsafeUnpin for PathBuilder
impl UnwindSafe for PathBuilder
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