pub enum TransformStyle {
Flat,
Preserve3d,
}Expand description
The transform-style keyword. Determines whether children of a
3-D-transformed element live in the same 3-D rendering context.
Variants§
Flat
flat — children are flattened into the element’s plane. Default.
Preserve3d
preserve-3d — children live in 3-D space.
Trait Implementations§
Source§impl Clone for TransformStyle
impl Clone for TransformStyle
Source§fn clone(&self) -> TransformStyle
fn clone(&self) -> TransformStyle
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 moreimpl Copy for TransformStyle
Source§impl Debug for TransformStyle
impl Debug for TransformStyle
impl Eq for TransformStyle
Source§impl Hash for TransformStyle
impl Hash for TransformStyle
Source§impl PartialEq for TransformStyle
impl PartialEq for TransformStyle
Source§fn eq(&self, other: &TransformStyle) -> bool
fn eq(&self, other: &TransformStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TransformStyle
Auto Trait Implementations§
impl Freeze for TransformStyle
impl RefUnwindSafe for TransformStyle
impl Send for TransformStyle
impl Sync for TransformStyle
impl Unpin for TransformStyle
impl UnsafeUnpin for TransformStyle
impl UnwindSafe for TransformStyle
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