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