pub struct BezierPolygon {
pub exterior: BezierPath,
pub interiors: Vec<BezierPath>,
}Expand description
A polygon whose exterior and interior rings retain straight and cubic Bézier segments.
Fields§
§exterior: BezierPathThe polygon’s exterior ring.
interiors: Vec<BezierPath>The polygon’s interior rings.
Trait Implementations§
Source§impl Clone for BezierPolygon
impl Clone for BezierPolygon
Source§fn clone(&self) -> BezierPolygon
fn clone(&self) -> BezierPolygon
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BezierPolygon
impl RefUnwindSafe for BezierPolygon
impl Send for BezierPolygon
impl Sync for BezierPolygon
impl Unpin for BezierPolygon
impl UnsafeUnpin for BezierPolygon
impl UnwindSafe for BezierPolygon
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more