pub struct Animate {
pub opacity: Option<(f32, f32)>,
pub offset: Option<(Vec2, Vec2)>,
pub duration_secs: f32,
pub delay_secs: f32,
pub easing: Easing,
}Fields§
§opacity: Option<(f32, f32)>§offset: Option<(Vec2, Vec2)>§duration_secs: f32§delay_secs: f32§easing: EasingImplementations§
Trait Implementations§
Source§impl From<AnimateBuilder> for Animate
impl From<AnimateBuilder> for Animate
Source§fn from(b: AnimateBuilder) -> Self
fn from(b: AnimateBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Animate
impl RefUnwindSafe for Animate
impl Send for Animate
impl Sync for Animate
impl Unpin for Animate
impl UnsafeUnpin for Animate
impl UnwindSafe for Animate
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