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