pub struct Transforms(pub Box<[Transform]>);Expand description
A collection of transform operations that can be applied together
Tuple Fields§
§0: Box<[Transform]>Trait Implementations§
Source§impl Clone for Transforms
impl Clone for Transforms
Source§fn clone(&self) -> Transforms
fn clone(&self) -> Transforms
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Transforms
impl Debug for Transforms
Source§impl Deref for Transforms
impl Deref for Transforms
Source§impl DerefMut for Transforms
impl DerefMut for Transforms
Source§impl<'i> FromCss<'i> for Transforms
impl<'i> FromCss<'i> for Transforms
Source§const VALID_TOKENS: &'static [CssToken] = Transform::VALID_TOKENS
const VALID_TOKENS: &'static [CssToken] = Transform::VALID_TOKENS
Returns the list of valid CSS tokens for this type.
Source§fn from_css(input: &mut Parser<'i, '_>) -> ParseResult<'i, Self>
fn from_css(input: &mut Parser<'i, '_>) -> ParseResult<'i, Self>
Parses the type from a
Parser instance.Source§fn from_str(source: &'i str) -> ParseResult<'i, Self>where
Self: Sized,
fn from_str(source: &'i str) -> ParseResult<'i, Self>where
Self: Sized,
Helper function to parse the type from a string.
Source§const EXPECT_MESSAGE: CssExpectedMessage = CssExpectedMessage::OneValue
const EXPECT_MESSAGE: CssExpectedMessage = CssExpectedMessage::OneValue
Message template used when building parse errors for this type.
Source§impl PartialEq for Transforms
impl PartialEq for Transforms
Source§fn eq(&self, other: &Transforms) -> bool
fn eq(&self, other: &Transforms) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Transforms
Auto Trait Implementations§
impl Freeze for Transforms
impl RefUnwindSafe for Transforms
impl Send for Transforms
impl Sync for Transforms
impl Unpin for Transforms
impl UnsafeUnpin for Transforms
impl UnwindSafe for Transforms
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