pub struct TransitionOutput {
pub present: bool,
pub linear: f32,
pub progress: f32,
pub animating: bool,
}Fields§
§present: boolWhether the content should remain mounted/paintable.
linear: f32Linear progress in [0, 1] (0 = fully closed, 1 = fully open).
progress: f32Eased progress in [0, 1] using the easing function passed to update.
animating: boolWhether the transition is currently animating.
Trait Implementations§
Source§impl Clone for TransitionOutput
impl Clone for TransitionOutput
Source§fn clone(&self) -> TransitionOutput
fn clone(&self) -> TransitionOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransitionOutput
impl Debug for TransitionOutput
Source§impl PartialEq for TransitionOutput
impl PartialEq for TransitionOutput
impl Copy for TransitionOutput
impl StructuralPartialEq for TransitionOutput
Auto Trait Implementations§
impl Freeze for TransitionOutput
impl RefUnwindSafe for TransitionOutput
impl Send for TransitionOutput
impl Sync for TransitionOutput
impl Unpin for TransitionOutput
impl UnsafeUnpin for TransitionOutput
impl UnwindSafe for TransitionOutput
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