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