Struct canvas::raqote_backend::PathBuilder
source · struct PathBuilder(Option<PathBuilder>);
Tuple Fields§
§0: Option<PathBuilder>
Implementations§
source§impl PathBuilder
impl PathBuilder
fn new() -> PathBuilder
Trait Implementations§
source§impl GenericPathBuilder for PathBuilder
impl GenericPathBuilder for PathBuilder
fn arc( &mut self, origin: Point2D<f32>, radius: f32, start_angle: f32, end_angle: f32, anticlockwise: bool, )
fn bezier_curve_to( &mut self, control_point1: &Point2D<f32>, control_point2: &Point2D<f32>, control_point3: &Point2D<f32>, )
fn close(&mut self)
fn ellipse( &mut self, origin: Point2D<f32>, radius_x: f32, radius_y: f32, rotation_angle: f32, start_angle: f32, end_angle: f32, anticlockwise: bool, )
fn get_current_point(&mut self) -> Option<Point2D<f32>>
fn line_to(&mut self, point: Point2D<f32>)
fn move_to(&mut self, point: Point2D<f32>)
fn quadratic_curve_to( &mut self, control_point: &Point2D<f32>, end_point: &Point2D<f32>, )
fn finish(&mut self) -> Path
Auto Trait Implementations§
impl Freeze for PathBuilder
impl RefUnwindSafe for PathBuilder
impl Send for PathBuilder
impl Sync for PathBuilder
impl Unpin 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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert