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