pub enum TransformBoxStyleValue {
ContentBox(Ident),
BorderBox(Ident),
FillBox(Ident),
StrokeBox(Ident),
ViewBox(Ident),
}Expand description
Represents the style value for transform-box as defined in css-transforms-2.
The transform-box CSS property sets the position and dimensions of the reference box relative to which an element’s transformations are calculated.
The grammar is defined as:
content-box | border-box | fill-box | stroke-box | view-boxVariants§
Trait Implementations§
Source§impl Clone for TransformBoxStyleValue
impl Clone for TransformBoxStyleValue
Source§fn clone(&self) -> TransformBoxStyleValue
fn clone(&self) -> TransformBoxStyleValue
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 TransformBoxStyleValue
impl Debug for TransformBoxStyleValue
Source§impl Hash for TransformBoxStyleValue
impl Hash for TransformBoxStyleValue
Source§impl Ord for TransformBoxStyleValue
impl Ord for TransformBoxStyleValue
Source§fn cmp(&self, other: &TransformBoxStyleValue) -> Ordering
fn cmp(&self, other: &TransformBoxStyleValue) -> 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 TransformBoxStyleValue
impl<'a> Parse<'a> for TransformBoxStyleValue
Source§impl PartialEq for TransformBoxStyleValue
impl PartialEq for TransformBoxStyleValue
Source§impl PartialOrd for TransformBoxStyleValue
impl PartialOrd for TransformBoxStyleValue
Source§impl<'a> Peek<'a> for TransformBoxStyleValue
impl<'a> Peek<'a> for TransformBoxStyleValue
Source§impl ToCursors for TransformBoxStyleValue
impl ToCursors for TransformBoxStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for TransformBoxStyleValue
impl StructuralPartialEq for TransformBoxStyleValue
Auto Trait Implementations§
impl Freeze for TransformBoxStyleValue
impl RefUnwindSafe for TransformBoxStyleValue
impl Send for TransformBoxStyleValue
impl Sync for TransformBoxStyleValue
impl Unpin for TransformBoxStyleValue
impl UnwindSafe for TransformBoxStyleValue
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