pub struct EasingEasingFunctionCubicBezier {
pub x1: f64,
pub y1: f64,
pub x2: f64,
pub y2: f64,
}
Expand description
EasingEasingFunctionCubicBezier : A cubic bezier curve that defines the easing.
Fields§
§x1: f64
The x component of the first control point.
y1: f64
The y component of the first control point.
x2: f64
The x component of the second control point.
y2: f64
The y component of the second control point.
Implementations§
Trait Implementations§
Source§impl Clone for EasingEasingFunctionCubicBezier
impl Clone for EasingEasingFunctionCubicBezier
Source§fn clone(&self) -> EasingEasingFunctionCubicBezier
fn clone(&self) -> EasingEasingFunctionCubicBezier
Returns a duplicate 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 Default for EasingEasingFunctionCubicBezier
impl Default for EasingEasingFunctionCubicBezier
Source§fn default() -> EasingEasingFunctionCubicBezier
fn default() -> EasingEasingFunctionCubicBezier
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EasingEasingFunctionCubicBezier
impl<'de> Deserialize<'de> for EasingEasingFunctionCubicBezier
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 EasingEasingFunctionCubicBezier
impl PartialEq for EasingEasingFunctionCubicBezier
Source§fn eq(&self, other: &EasingEasingFunctionCubicBezier) -> bool
fn eq(&self, other: &EasingEasingFunctionCubicBezier) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for EasingEasingFunctionCubicBezier
Auto Trait Implementations§
impl Freeze for EasingEasingFunctionCubicBezier
impl RefUnwindSafe for EasingEasingFunctionCubicBezier
impl Send for EasingEasingFunctionCubicBezier
impl Sync for EasingEasingFunctionCubicBezier
impl Unpin for EasingEasingFunctionCubicBezier
impl UnwindSafe for EasingEasingFunctionCubicBezier
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