pub struct Transition<T> {
pub start: T,
pub end: T,
pub start_time: f64,
pub duration: f64,
pub easing: Easing,
}Fields§
§start: T§end: T§start_time: f64§duration: f64§easing: EasingImplementations§
Trait Implementations§
Source§impl<T> Clone for Transition<T>where
T: Clone,
impl<T> Clone for Transition<T>where
T: Clone,
Source§fn clone(&self) -> Transition<T>
fn clone(&self) -> Transition<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<T> Copy for Transition<T>where
T: Copy,
Source§impl<T> Debug for Transition<T>where
T: Debug,
impl<T> Debug for Transition<T>where
T: Debug,
Source§impl<T> PartialEq for Transition<T>where
T: PartialEq,
impl<T> PartialEq for Transition<T>where
T: PartialEq,
impl<T> StructuralPartialEq for Transition<T>where
T: PartialEq,
Auto Trait Implementations§
impl<T> Forget for Transition<T>
impl<T> Freeze for Transition<T>where
T: Freeze,
impl<T> Move for Transition<T>
impl<T> RefUnwindSafe for Transition<T>where
T: RefUnwindSafe,
impl<T> Send for Transition<T>where
T: Send,
impl<T> Sync for Transition<T>where
T: Sync,
impl<T> Unpin for Transition<T>where
T: Unpin,
impl<T> UnsafeUnpin for Transition<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Transition<T>where
T: UnwindSafe,
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