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