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