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