#[repr(C)]pub struct SvgMultiPolygonVec { /* private fields */ }
Implementations§
Source§impl SvgMultiPolygonVec
impl SvgMultiPolygonVec
pub fn new() -> SvgMultiPolygonVec
pub fn with_capacity(cap: usize) -> SvgMultiPolygonVec
pub const fn from_const_slice( input: &'static [SvgMultiPolygon], ) -> SvgMultiPolygonVec
pub fn from_vec(input: Vec<SvgMultiPolygon>) -> SvgMultiPolygonVec
pub fn iter(&self) -> Iter<'_, SvgMultiPolygon>
pub fn ptr_as_usize(&self) -> usize
pub const fn len(&self) -> usize
pub const fn capacity(&self) -> usize
pub const fn is_empty(&self) -> bool
pub fn get(&self, index: usize) -> Option<&SvgMultiPolygon>
pub fn as_slice(&self) -> &[SvgMultiPolygon]
Source§impl SvgMultiPolygonVec
impl SvgMultiPolygonVec
pub fn from_copy_on_write( input: Cow<'static, [SvgMultiPolygon]>, ) -> SvgMultiPolygonVec
Sourcepub fn clone_self(&self) -> SvgMultiPolygonVec
pub fn clone_self(&self) -> SvgMultiPolygonVec
NOTE: CLONES the memory if the memory is external or &’static Moves the memory out if the memory is library-allocated
Sourcepub fn into_library_owned_vec(self) -> Vec<SvgMultiPolygon>
pub fn into_library_owned_vec(self) -> Vec<SvgMultiPolygon>
NOTE: CLONES the memory if the memory is external or &’static Moves the memory out if the memory is library-allocated
Trait Implementations§
Source§impl AsRef<[SvgMultiPolygon]> for SvgMultiPolygonVec
impl AsRef<[SvgMultiPolygon]> for SvgMultiPolygonVec
Source§fn as_ref(&self) -> &[SvgMultiPolygon]
fn as_ref(&self) -> &[SvgMultiPolygon]
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for SvgMultiPolygonVec
impl Clone for SvgMultiPolygonVec
Source§fn clone(&self) -> SvgMultiPolygonVec
fn clone(&self) -> SvgMultiPolygonVec
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 SvgMultiPolygonVec
impl Debug for SvgMultiPolygonVec
Source§impl Default for SvgMultiPolygonVec
impl Default for SvgMultiPolygonVec
Source§fn default() -> SvgMultiPolygonVec
fn default() -> SvgMultiPolygonVec
Returns the “default value” for a type. Read more
Source§impl Drop for SvgMultiPolygonVec
impl Drop for SvgMultiPolygonVec
Source§impl From<&'static [SvgMultiPolygon]> for SvgMultiPolygonVec
impl From<&'static [SvgMultiPolygon]> for SvgMultiPolygonVec
Source§fn from(input: &'static [SvgMultiPolygon]) -> SvgMultiPolygonVec
fn from(input: &'static [SvgMultiPolygon]) -> SvgMultiPolygonVec
Converts to this type from the input type.
Source§impl From<Vec<SvgMultiPolygon>> for SvgMultiPolygonVec
impl From<Vec<SvgMultiPolygon>> for SvgMultiPolygonVec
Source§fn from(input: Vec<SvgMultiPolygon>) -> SvgMultiPolygonVec
fn from(input: Vec<SvgMultiPolygon>) -> SvgMultiPolygonVec
Converts to this type from the input type.
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 SvgMultiPolygonVec
impl PartialEq for SvgMultiPolygonVec
Source§impl PartialOrd for SvgMultiPolygonVec
impl PartialOrd for SvgMultiPolygonVec
impl Send for SvgMultiPolygonVec
impl Sync for SvgMultiPolygonVec
Auto Trait Implementations§
impl Freeze for SvgMultiPolygonVec
impl RefUnwindSafe for SvgMultiPolygonVec
impl Unpin for SvgMultiPolygonVec
impl UnwindSafe for SvgMultiPolygonVec
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