#[repr(C)]pub struct SvgMultiPolygon {
pub rings: SvgPathVec,
}Fields§
§rings: SvgPathVecNOTE: If a ring represends a hole, simply reverse the order of points
Implementations§
Source§impl SvgMultiPolygon
impl SvgMultiPolygon
pub fn get_bounds(&self) -> SvgRect
Trait Implementations§
Source§impl Clone for SvgMultiPolygon
impl Clone for SvgMultiPolygon
Source§fn clone(&self) -> SvgMultiPolygon
fn clone(&self) -> SvgMultiPolygon
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SvgMultiPolygon
impl Debug for SvgMultiPolygon
Source§impl FromIterator<SvgMultiPolygon> for SvgMultiPolygonVec
impl FromIterator<SvgMultiPolygon> for SvgMultiPolygonVec
Source§fn from_iter<T>(iter: T) -> SvgMultiPolygonVecwhere
T: IntoIterator<Item = SvgMultiPolygon>,
fn from_iter<T>(iter: T) -> SvgMultiPolygonVecwhere
T: IntoIterator<Item = SvgMultiPolygon>,
Creates a value from an iterator. Read more
Source§impl PartialEq for SvgMultiPolygon
impl PartialEq for SvgMultiPolygon
Source§impl PartialOrd for SvgMultiPolygon
impl PartialOrd for SvgMultiPolygon
Source§impl SvgMultiPolygonTessellation for SvgMultiPolygon
impl SvgMultiPolygonTessellation for SvgMultiPolygon
Source§fn tessellate_fill(&self, fill_style: SvgFillStyle) -> TessellatedSvgNode
fn tessellate_fill(&self, fill_style: SvgFillStyle) -> TessellatedSvgNode
Tessellates the polygon with fill style, returns CPU-side vertex buffers
Source§fn tessellate_stroke(&self, stroke_style: SvgStrokeStyle) -> TessellatedSvgNode
fn tessellate_stroke(&self, stroke_style: SvgStrokeStyle) -> TessellatedSvgNode
Tessellates the polygon with stroke style, returns CPU-side vertex buffers
impl StructuralPartialEq for SvgMultiPolygon
Auto Trait Implementations§
impl Freeze for SvgMultiPolygon
impl RefUnwindSafe for SvgMultiPolygon
impl Send for SvgMultiPolygon
impl Sync for SvgMultiPolygon
impl Unpin for SvgMultiPolygon
impl UnwindSafe for SvgMultiPolygon
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