pub enum TransformStyleStyleValue {
Flat(Ident),
Preserve3d(Ident),
}Expand description
Represents the style value for transform-style as defined in css-transforms-2.
The transform CSS property and its 3D transform functions allow rotations and other transforms in three dimensions, including perspective transforms.
The grammar is defined as:
flat | preserve-3dVariants§
Trait Implementations§
Source§impl Clone for TransformStyleStyleValue
impl Clone for TransformStyleStyleValue
Source§fn clone(&self) -> TransformStyleStyleValue
fn clone(&self) -> TransformStyleStyleValue
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 TransformStyleStyleValue
impl Debug for TransformStyleStyleValue
Source§impl Hash for TransformStyleStyleValue
impl Hash for TransformStyleStyleValue
Source§impl Ord for TransformStyleStyleValue
impl Ord for TransformStyleStyleValue
Source§fn cmp(&self, other: &TransformStyleStyleValue) -> Ordering
fn cmp(&self, other: &TransformStyleStyleValue) -> 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 TransformStyleStyleValue
impl<'a> Parse<'a> for TransformStyleStyleValue
Source§impl PartialEq for TransformStyleStyleValue
impl PartialEq for TransformStyleStyleValue
Source§impl PartialOrd for TransformStyleStyleValue
impl PartialOrd for TransformStyleStyleValue
Source§impl<'a> Peek<'a> for TransformStyleStyleValue
impl<'a> Peek<'a> for TransformStyleStyleValue
Source§impl ToCursors for TransformStyleStyleValue
impl ToCursors for TransformStyleStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for TransformStyleStyleValue
impl StructuralPartialEq for TransformStyleStyleValue
Auto Trait Implementations§
impl Freeze for TransformStyleStyleValue
impl RefUnwindSafe for TransformStyleStyleValue
impl Send for TransformStyleStyleValue
impl Sync for TransformStyleStyleValue
impl Unpin for TransformStyleStyleValue
impl UnwindSafe for TransformStyleStyleValue
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