#[non_exhaustive]pub enum Interpolation {
Hold,
Linear,
Bezier(CubicBezier),
Spring(Spring),
Easing(Easing),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl Interpolation
impl Interpolation
Trait Implementations§
Source§impl Clone for Interpolation
impl Clone for Interpolation
impl Copy for Interpolation
Source§impl Debug for Interpolation
impl Debug for Interpolation
Source§impl PartialEq for Interpolation
impl PartialEq for Interpolation
impl StructuralPartialEq for Interpolation
Auto Trait Implementations§
impl Freeze for Interpolation
impl RefUnwindSafe for Interpolation
impl Send for Interpolation
impl Sync for Interpolation
impl Unpin for Interpolation
impl UnsafeUnpin for Interpolation
impl UnwindSafe for Interpolation
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