pub struct NavigationMenuContentTransitionOutput {
pub from_idx: Option<usize>,
pub to_idx: Option<usize>,
pub switching: bool,
pub progress: f32,
pub animating: bool,
pub from_motion: NavigationMenuContentMotion,
pub to_motion: NavigationMenuContentMotion,
}Fields§
§from_idx: Option<usize>§to_idx: Option<usize>§switching: bool§progress: f32Transition progress in [0, 1] where 0 is the beginning of the switch and 1 is the end.
animating: bool§from_motion: NavigationMenuContentMotion§to_motion: NavigationMenuContentMotionTrait Implementations§
Source§fn clone(&self) -> NavigationMenuContentTransitionOutput
fn clone(&self) -> NavigationMenuContentTransitionOutput
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§fn eq(&self, other: &NavigationMenuContentTransitionOutput) -> bool
fn eq(&self, other: &NavigationMenuContentTransitionOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
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