pub struct Smooth {
pub frame: Duration,
pub ease: Duration,
}Expand description
How a region animates. Direct placement only, since only that can sit between cells.
Fields§
§frame: DurationHow often it moves.
ease: DurationHow quickly it closes on where it’s going: about two thirds of the way in this time.
Trait Implementations§
impl Copy for Smooth
impl Eq for Smooth
impl StructuralPartialEq for Smooth
Auto Trait Implementations§
impl Freeze for Smooth
impl RefUnwindSafe for Smooth
impl Send for Smooth
impl Sync for Smooth
impl Unpin for Smooth
impl UnsafeUnpin for Smooth
impl UnwindSafe for Smooth
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