#[repr(C)]pub struct SvgColoredVertexVec { /* private fields */ }
Implementations§
Source§impl SvgColoredVertexVec
impl SvgColoredVertexVec
pub fn new() -> SvgColoredVertexVec
pub fn with_capacity(cap: usize) -> SvgColoredVertexVec
pub const fn from_const_slice( input: &'static [SvgColoredVertex], ) -> SvgColoredVertexVec
pub fn from_vec(input: Vec<SvgColoredVertex>) -> SvgColoredVertexVec
pub fn iter(&self) -> Iter<'_, SvgColoredVertex>
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<&SvgColoredVertex>
pub fn as_slice(&self) -> &[SvgColoredVertex]
Source§impl SvgColoredVertexVec
impl SvgColoredVertexVec
pub fn from_copy_on_write( input: Cow<'static, [SvgColoredVertex]>, ) -> SvgColoredVertexVec
Sourcepub fn clone_self(&self) -> SvgColoredVertexVec
pub fn clone_self(&self) -> SvgColoredVertexVec
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<SvgColoredVertex>
pub fn into_library_owned_vec(self) -> Vec<SvgColoredVertex>
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<[SvgColoredVertex]> for SvgColoredVertexVec
impl AsRef<[SvgColoredVertex]> for SvgColoredVertexVec
Source§fn as_ref(&self) -> &[SvgColoredVertex]
fn as_ref(&self) -> &[SvgColoredVertex]
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for SvgColoredVertexVec
impl Clone for SvgColoredVertexVec
Source§fn clone(&self) -> SvgColoredVertexVec
fn clone(&self) -> SvgColoredVertexVec
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 SvgColoredVertexVec
impl Debug for SvgColoredVertexVec
Source§impl Default for SvgColoredVertexVec
impl Default for SvgColoredVertexVec
Source§fn default() -> SvgColoredVertexVec
fn default() -> SvgColoredVertexVec
Returns the “default value” for a type. Read more
Source§impl Drop for SvgColoredVertexVec
impl Drop for SvgColoredVertexVec
Source§impl From<&'static [SvgColoredVertex]> for SvgColoredVertexVec
impl From<&'static [SvgColoredVertex]> for SvgColoredVertexVec
Source§fn from(input: &'static [SvgColoredVertex]) -> SvgColoredVertexVec
fn from(input: &'static [SvgColoredVertex]) -> SvgColoredVertexVec
Converts to this type from the input type.
Source§impl From<Vec<SvgColoredVertex>> for SvgColoredVertexVec
impl From<Vec<SvgColoredVertex>> for SvgColoredVertexVec
Source§fn from(input: Vec<SvgColoredVertex>) -> SvgColoredVertexVec
fn from(input: Vec<SvgColoredVertex>) -> SvgColoredVertexVec
Converts to this type from the input type.
Source§impl FromIterator<SvgColoredVertex> for SvgColoredVertexVec
impl FromIterator<SvgColoredVertex> for SvgColoredVertexVec
Source§fn from_iter<T>(iter: T) -> SvgColoredVertexVecwhere
T: IntoIterator<Item = SvgColoredVertex>,
fn from_iter<T>(iter: T) -> SvgColoredVertexVecwhere
T: IntoIterator<Item = SvgColoredVertex>,
Creates a value from an iterator. Read more
Source§impl PartialEq for SvgColoredVertexVec
impl PartialEq for SvgColoredVertexVec
Source§impl PartialOrd for SvgColoredVertexVec
impl PartialOrd for SvgColoredVertexVec
impl Send for SvgColoredVertexVec
impl Sync for SvgColoredVertexVec
Auto Trait Implementations§
impl Freeze for SvgColoredVertexVec
impl RefUnwindSafe for SvgColoredVertexVec
impl Unpin for SvgColoredVertexVec
impl UnwindSafe for SvgColoredVertexVec
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