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