Struct easing_function::EasingFunction
source · pub struct EasingFunction(/* private fields */);
Expand description
An easing function for customizing animations.
Implementations§
Trait Implementations§
source§impl Clone for EasingFunction
impl Clone for EasingFunction
source§fn clone(&self) -> EasingFunction
fn clone(&self) -> EasingFunction
Returns a copy 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 EasingFunction
impl Debug for EasingFunction
source§impl Default for EasingFunction
impl Default for EasingFunction
source§impl Easing for EasingFunction
impl Easing for EasingFunction
source§impl From<EaseInBack> for EasingFunction
impl From<EaseInBack> for EasingFunction
source§fn from(_function: EaseInBack) -> Self
fn from(_function: EaseInBack) -> Self
Converts to this type from the input type.
source§impl From<EaseInBounce> for EasingFunction
impl From<EaseInBounce> for EasingFunction
source§fn from(_function: EaseInBounce) -> Self
fn from(_function: EaseInBounce) -> Self
Converts to this type from the input type.
source§impl From<EaseInCircular> for EasingFunction
impl From<EaseInCircular> for EasingFunction
source§fn from(_function: EaseInCircular) -> Self
fn from(_function: EaseInCircular) -> Self
Converts to this type from the input type.
source§impl From<EaseInCubic> for EasingFunction
impl From<EaseInCubic> for EasingFunction
source§fn from(_function: EaseInCubic) -> Self
fn from(_function: EaseInCubic) -> Self
Converts to this type from the input type.
source§impl From<EaseInElastic> for EasingFunction
impl From<EaseInElastic> for EasingFunction
source§fn from(_function: EaseInElastic) -> Self
fn from(_function: EaseInElastic) -> Self
Converts to this type from the input type.
source§impl From<EaseInExponential> for EasingFunction
impl From<EaseInExponential> for EasingFunction
source§fn from(_function: EaseInExponential) -> Self
fn from(_function: EaseInExponential) -> Self
Converts to this type from the input type.
source§impl From<EaseInOutBack> for EasingFunction
impl From<EaseInOutBack> for EasingFunction
source§fn from(_function: EaseInOutBack) -> Self
fn from(_function: EaseInOutBack) -> Self
Converts to this type from the input type.
source§impl From<EaseInOutBounce> for EasingFunction
impl From<EaseInOutBounce> for EasingFunction
source§fn from(_function: EaseInOutBounce) -> Self
fn from(_function: EaseInOutBounce) -> Self
Converts to this type from the input type.
source§impl From<EaseInOutCircular> for EasingFunction
impl From<EaseInOutCircular> for EasingFunction
source§fn from(_function: EaseInOutCircular) -> Self
fn from(_function: EaseInOutCircular) -> Self
Converts to this type from the input type.
source§impl From<EaseInOutCubic> for EasingFunction
impl From<EaseInOutCubic> for EasingFunction
source§fn from(_function: EaseInOutCubic) -> Self
fn from(_function: EaseInOutCubic) -> Self
Converts to this type from the input type.
source§impl From<EaseInOutElastic> for EasingFunction
impl From<EaseInOutElastic> for EasingFunction
source§fn from(_function: EaseInOutElastic) -> Self
fn from(_function: EaseInOutElastic) -> Self
Converts to this type from the input type.
source§impl From<EaseInOutExponential> for EasingFunction
impl From<EaseInOutExponential> for EasingFunction
source§fn from(_function: EaseInOutExponential) -> Self
fn from(_function: EaseInOutExponential) -> Self
Converts to this type from the input type.
source§impl From<EaseInOutQuadradic> for EasingFunction
impl From<EaseInOutQuadradic> for EasingFunction
source§fn from(_function: EaseInOutQuadradic) -> Self
fn from(_function: EaseInOutQuadradic) -> Self
Converts to this type from the input type.
source§impl From<EaseInOutQuartic> for EasingFunction
impl From<EaseInOutQuartic> for EasingFunction
source§fn from(_function: EaseInOutQuartic) -> Self
fn from(_function: EaseInOutQuartic) -> Self
Converts to this type from the input type.
source§impl From<EaseInOutQuintic> for EasingFunction
impl From<EaseInOutQuintic> for EasingFunction
source§fn from(_function: EaseInOutQuintic) -> Self
fn from(_function: EaseInOutQuintic) -> Self
Converts to this type from the input type.
source§impl From<EaseInOutSine> for EasingFunction
impl From<EaseInOutSine> for EasingFunction
source§fn from(_function: EaseInOutSine) -> Self
fn from(_function: EaseInOutSine) -> Self
Converts to this type from the input type.
source§impl From<EaseInQuadradic> for EasingFunction
impl From<EaseInQuadradic> for EasingFunction
source§fn from(_function: EaseInQuadradic) -> Self
fn from(_function: EaseInQuadradic) -> Self
Converts to this type from the input type.
source§impl From<EaseInQuartic> for EasingFunction
impl From<EaseInQuartic> for EasingFunction
source§fn from(_function: EaseInQuartic) -> Self
fn from(_function: EaseInQuartic) -> Self
Converts to this type from the input type.
source§impl From<EaseInQuintic> for EasingFunction
impl From<EaseInQuintic> for EasingFunction
source§fn from(_function: EaseInQuintic) -> Self
fn from(_function: EaseInQuintic) -> Self
Converts to this type from the input type.
source§impl From<EaseInSine> for EasingFunction
impl From<EaseInSine> for EasingFunction
source§fn from(_function: EaseInSine) -> Self
fn from(_function: EaseInSine) -> Self
Converts to this type from the input type.
source§impl From<EaseOutBack> for EasingFunction
impl From<EaseOutBack> for EasingFunction
source§fn from(_function: EaseOutBack) -> Self
fn from(_function: EaseOutBack) -> Self
Converts to this type from the input type.
source§impl From<EaseOutBounce> for EasingFunction
impl From<EaseOutBounce> for EasingFunction
source§fn from(_function: EaseOutBounce) -> Self
fn from(_function: EaseOutBounce) -> Self
Converts to this type from the input type.
source§impl From<EaseOutCircular> for EasingFunction
impl From<EaseOutCircular> for EasingFunction
source§fn from(_function: EaseOutCircular) -> Self
fn from(_function: EaseOutCircular) -> Self
Converts to this type from the input type.
source§impl From<EaseOutCubic> for EasingFunction
impl From<EaseOutCubic> for EasingFunction
source§fn from(_function: EaseOutCubic) -> Self
fn from(_function: EaseOutCubic) -> Self
Converts to this type from the input type.
source§impl From<EaseOutElastic> for EasingFunction
impl From<EaseOutElastic> for EasingFunction
source§fn from(_function: EaseOutElastic) -> Self
fn from(_function: EaseOutElastic) -> Self
Converts to this type from the input type.
source§impl From<EaseOutExponential> for EasingFunction
impl From<EaseOutExponential> for EasingFunction
source§fn from(_function: EaseOutExponential) -> Self
fn from(_function: EaseOutExponential) -> Self
Converts to this type from the input type.
source§impl From<EaseOutQuadradic> for EasingFunction
impl From<EaseOutQuadradic> for EasingFunction
source§fn from(_function: EaseOutQuadradic) -> Self
fn from(_function: EaseOutQuadradic) -> Self
Converts to this type from the input type.
source§impl From<EaseOutQuartic> for EasingFunction
impl From<EaseOutQuartic> for EasingFunction
source§fn from(_function: EaseOutQuartic) -> Self
fn from(_function: EaseOutQuartic) -> Self
Converts to this type from the input type.
source§impl From<EaseOutQuintic> for EasingFunction
impl From<EaseOutQuintic> for EasingFunction
source§fn from(_function: EaseOutQuintic) -> Self
fn from(_function: EaseOutQuintic) -> Self
Converts to this type from the input type.
source§impl From<EaseOutSine> for EasingFunction
impl From<EaseOutSine> for EasingFunction
source§fn from(_function: EaseOutSine) -> Self
fn from(_function: EaseOutSine) -> Self
Converts to this type from the input type.
source§impl From<Linear> for EasingFunction
impl From<Linear> for EasingFunction
source§impl From<StandardEasing> for EasingFunction
impl From<StandardEasing> for EasingFunction
source§fn from(easing: StandardEasing) -> Self
fn from(easing: StandardEasing) -> Self
Converts to this type from the input type.
source§impl PartialEq for EasingFunction
impl PartialEq for EasingFunction
source§impl TryFrom<EasingFunction> for StandardEasing
impl TryFrom<EasingFunction> for StandardEasing
§type Error = NonStandardEasing
type Error = NonStandardEasing
The type returned in the event of a conversion error.
impl StructuralPartialEq for EasingFunction
Auto Trait Implementations§
impl Freeze for EasingFunction
impl !RefUnwindSafe for EasingFunction
impl Send for EasingFunction
impl Sync for EasingFunction
impl Unpin for EasingFunction
impl !UnwindSafe for EasingFunction
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)