pub struct ScaleFunction {
pub name: Function,
pub params: (NumberOrPercentage, Option<Comma>, Option<NumberOrPercentage>),
pub close: RightParen,
}Expand description
https://drafts.csswg.org/css-transforms-2/#funcdef-scale
scale() = scale( [ <number> | <percentage> ]#{1,2} )Fields§
§name: Function§params: (NumberOrPercentage, Option<Comma>, Option<NumberOrPercentage>)§close: RightParenTrait Implementations§
Source§impl Clone for ScaleFunction
impl Clone for ScaleFunction
Source§fn clone(&self) -> ScaleFunction
fn clone(&self) -> ScaleFunction
Returns a duplicate of the value. Read more
1.0.0 · 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 ScaleFunction
impl Debug for ScaleFunction
Source§impl Hash for ScaleFunction
impl Hash for ScaleFunction
Source§impl Ord for ScaleFunction
impl Ord for ScaleFunction
Source§fn cmp(&self, other: &ScaleFunction) -> Ordering
fn cmp(&self, other: &ScaleFunction) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for ScaleFunction
impl<'a> Parse<'a> for ScaleFunction
Source§impl PartialEq for ScaleFunction
impl PartialEq for ScaleFunction
Source§impl PartialOrd for ScaleFunction
impl PartialOrd for ScaleFunction
Source§impl<'a> Peek<'a> for ScaleFunction
impl<'a> Peek<'a> for ScaleFunction
Source§impl ToCursors for ScaleFunction
impl ToCursors for ScaleFunction
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ScaleFunction
impl StructuralPartialEq for ScaleFunction
Auto Trait Implementations§
impl Freeze for ScaleFunction
impl RefUnwindSafe for ScaleFunction
impl Send for ScaleFunction
impl Sync for ScaleFunction
impl Unpin for ScaleFunction
impl UnwindSafe for ScaleFunction
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