pub struct Keyframe<T> {
pub offset: f32,
pub value: T,
pub easing: Easing,
pub hold: bool,
}Fields§
§offset: f32§value: T§easing: Easing§hold: boolImplementations§
Trait Implementations§
impl<T: PartialEq> StructuralPartialEq for Keyframe<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Keyframe<T>
impl<T> !UnwindSafe for Keyframe<T>
impl<T> Freeze for Keyframe<T>where
T: Freeze,
impl<T> Send for Keyframe<T>where
T: Send,
impl<T> Sync for Keyframe<T>where
T: Sync,
impl<T> Unpin for Keyframe<T>where
T: Unpin,
impl<T> UnsafeUnpin for Keyframe<T>where
T: UnsafeUnpin,
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