pub struct Figure<T> { /* private fields */ }
Implementations§
source§impl<T> Figure<T>
impl<T> Figure<T>
pub fn line_to(self, point: impl Into<Point<f32>>) -> Self
pub fn lines(self, points: &[Point<f32>]) -> Self
pub fn quadratic_bezier_to( self, ctrl: impl Into<Point<f32>>, to: impl Into<Point<f32>> ) -> Self
pub fn quadratic_beziers(self, segments: &[QuadraticBezierSegment]) -> Self
pub fn cubic_bezier_to( self, c0: impl Into<Point<f32>>, c1: impl Into<Point<f32>>, to: impl Into<Point<f32>> ) -> Self
pub fn cubic_beziers(self, segments: &[CubicBezierSegment]) -> Self
pub fn end(self, end: FigureEnd) -> Result<PathBuilder<T>>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Figure<T>where T: RefUnwindSafe,
impl<T> Send for Figure<T>where T: Send,
impl<T> Sync for Figure<T>where T: Sync,
impl<T> Unpin for Figure<T>where T: Unpin,
impl<T> UnwindSafe for Figure<T>where T: UnwindSafe,
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