#[repr(C)]pub struct SvgMultiPolygon {
pub rings: SvgPathVec,
}
Fields§
§rings: SvgPathVec
NOTE: 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 copy 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
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