pub enum Transform {
None,
Matrix(f32, f32, f32, f32, f32, f32),
Translate(f32, f32),
TranslateX(f32),
TranslateY(f32),
Scale(f32, f32),
ScaleX(f32),
ScaleY(f32),
Rotate(f32),
SkewX(f32),
SkewY(f32),
Multiple(Vec<Transform>),
}
Expand description
CSS transform operations
Variants§
None
Matrix(f32, f32, f32, f32, f32, f32)
Translate(f32, f32)
TranslateX(f32)
TranslateY(f32)
Scale(f32, f32)
ScaleX(f32)
ScaleY(f32)
Rotate(f32)
SkewX(f32)
SkewY(f32)
Multiple(Vec<Transform>)
Trait Implementations§
impl StructuralPartialEq for Transform
Auto Trait Implementations§
impl Freeze for Transform
impl RefUnwindSafe for Transform
impl Send for Transform
impl Sync for Transform
impl Unpin for Transform
impl UnwindSafe for Transform
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Event for T
impl<T> Event for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to Any for downcasting (mutable)
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Get the event type name
Source§impl<T> Props for T
impl<T> Props for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to mutable Any for downcasting