pub enum TransformKind {
Standard,
Preserve3D,
Perspective,
}Variants§
Standard
2D transform. Most common case.
Preserve3D
CSS transform-style: preserve-3d — children participate in
the parent’s 3D rendering context.
Perspective
Perspective transform (e.g. CSS perspective). Children are
rendered with this perspective applied.
Trait Implementations§
Source§impl Clone for TransformKind
impl Clone for TransformKind
Source§fn clone(&self) -> TransformKind
fn clone(&self) -> TransformKind
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 TransformKind
Source§impl Debug for TransformKind
impl Debug for TransformKind
Source§impl Default for TransformKind
impl Default for TransformKind
Source§fn default() -> TransformKind
fn default() -> TransformKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransformKind
impl<'de> Deserialize<'de> for TransformKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TransformKind
Source§impl PartialEq for TransformKind
impl PartialEq for TransformKind
Source§impl Serialize for TransformKind
impl Serialize for TransformKind
impl StructuralPartialEq for TransformKind
Auto Trait Implementations§
impl Freeze for TransformKind
impl RefUnwindSafe for TransformKind
impl Send for TransformKind
impl Sync for TransformKind
impl Unpin for TransformKind
impl UnsafeUnpin for TransformKind
impl UnwindSafe for TransformKind
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