Struct UnitBezier
pub struct UnitBezier {
pub x1: f64,
pub y1: f64,
pub x2: f64,
pub y2: f64,
}Expand description
Cubic easing curve for animated camera transitions.
Fields§
§x1: f64§y1: f64§x2: f64§y2: f64Implementations§
§impl UnitBezier
impl UnitBezier
Trait Implementations§
§impl Clone for UnitBezier
impl Clone for UnitBezier
§fn clone(&self) -> UnitBezier
fn clone(&self) -> UnitBezier
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 more§impl Debug for UnitBezier
impl Debug for UnitBezier
§impl PartialEq for UnitBezier
impl PartialEq for UnitBezier
impl Copy for UnitBezier
impl StructuralPartialEq for UnitBezier
Auto Trait Implementations§
impl Freeze for UnitBezier
impl RefUnwindSafe for UnitBezier
impl Send for UnitBezier
impl Sync for UnitBezier
impl Unpin for UnitBezier
impl UnsafeUnpin for UnitBezier
impl UnwindSafe for UnitBezier
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