pub enum GraphicAnimation {
Rotate {
period_millis: u32,
},
Pulse {
period_millis: u32,
phase_millis: u32,
},
}Expand description
Finite host-owned graphic motion. There is no application frame task.
Variants§
Rotate
Pulse
A linear opacity wave between one quarter and full opacity. Phase is bounded within one period; Reduce presents the fully opaque shape.
Implementations§
Trait Implementations§
Source§impl Clone for GraphicAnimation
impl Clone for GraphicAnimation
impl Copy for GraphicAnimation
Source§impl Debug for GraphicAnimation
impl Debug for GraphicAnimation
impl Eq for GraphicAnimation
Source§impl PartialEq for GraphicAnimation
impl PartialEq for GraphicAnimation
impl StructuralPartialEq for GraphicAnimation
Auto Trait Implementations§
impl Forget for GraphicAnimation
impl Freeze for GraphicAnimation
impl RefUnwindSafe for GraphicAnimation
impl Send for GraphicAnimation
impl Sync for GraphicAnimation
impl Unpin for GraphicAnimation
impl UnsafeUnpin for GraphicAnimation
impl UnwindSafe for GraphicAnimation
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