pub struct TranslateFunction {
pub name: Function,
pub x: LengthPercentage,
pub comma: Option<Comma>,
pub y: Option<LengthPercentage>,
pub close: RightParen,
}Expand description
https://drafts.csswg.org/css-transforms-1/#funcdef-transform-translate
translate() = translate( <length-percentage> , <length-percentage>? )Fields§
§name: Function§x: LengthPercentage§comma: Option<Comma>§y: Option<LengthPercentage>§close: RightParenTrait Implementations§
Source§impl Clone for TranslateFunction
impl Clone for TranslateFunction
Source§fn clone(&self) -> TranslateFunction
fn clone(&self) -> TranslateFunction
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 TranslateFunction
impl Debug for TranslateFunction
Source§impl Hash for TranslateFunction
impl Hash for TranslateFunction
Source§impl Ord for TranslateFunction
impl Ord for TranslateFunction
Source§fn cmp(&self, other: &TranslateFunction) -> Ordering
fn cmp(&self, other: &TranslateFunction) -> 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 TranslateFunction
impl<'a> Parse<'a> for TranslateFunction
Source§impl PartialEq for TranslateFunction
impl PartialEq for TranslateFunction
Source§impl PartialOrd for TranslateFunction
impl PartialOrd for TranslateFunction
Source§impl<'a> Peek<'a> for TranslateFunction
impl<'a> Peek<'a> for TranslateFunction
Source§impl ToCursors for TranslateFunction
impl ToCursors for TranslateFunction
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for TranslateFunction
impl StructuralPartialEq for TranslateFunction
Auto Trait Implementations§
impl Freeze for TranslateFunction
impl RefUnwindSafe for TranslateFunction
impl Send for TranslateFunction
impl Sync for TranslateFunction
impl Unpin for TranslateFunction
impl UnwindSafe for TranslateFunction
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