pub struct EasingPoint {
pub x: f32,
pub y: f32,
}Expand description
One point of a points curve.
Fields§
§x: f32Linear progress, strictly between 0 and 1.
y: f32The output there; it may leave 0..=1.
Trait Implementations§
Source§impl Clone for EasingPoint
impl Clone for EasingPoint
impl Copy for EasingPoint
Source§impl Debug for EasingPoint
impl Debug for EasingPoint
Source§impl<'de> Deserialize<'de> for EasingPoint
impl<'de> Deserialize<'de> for EasingPoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EasingPoint
impl PartialEq for EasingPoint
Source§impl Serialize for EasingPoint
impl Serialize for EasingPoint
impl StructuralPartialEq for EasingPoint
Auto Trait Implementations§
impl Forget for EasingPoint
impl Freeze for EasingPoint
impl Move for EasingPoint
impl RefUnwindSafe for EasingPoint
impl Send for EasingPoint
impl Sync for EasingPoint
impl Unpin for EasingPoint
impl UnsafeUnpin for EasingPoint
impl UnwindSafe for EasingPoint
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