pub struct Figure { /* private fields */ }
Implementations
sourceimpl Figure
impl Figure
pub fn line_to(self, point: impl Into<Point>) -> Self
pub fn quadratic_bezier_to(
self,
ctrl: impl Into<Point>,
to: impl Into<Point>
) -> Self
pub fn cubic_bezier_to(
self,
c0: impl Into<Point>,
c1: impl Into<Point>,
to: impl Into<Point>
) -> Self
pub fn end(self, t: FigureEnd) -> PathBuilder
Auto Trait Implementations
impl RefUnwindSafe for Figure
impl !Send for Figure
impl !Sync for Figure
impl Unpin for Figure
impl UnwindSafe for Figure
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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