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