pub enum Curve {
Linear,
EaseIn,
EaseOut,
EaseInOut,
}Expand description
缓动曲线(输入输出均为 0..1)
Variants§
Implementations§
Trait Implementations§
impl Copy for Curve
impl Eq for Curve
impl StructuralPartialEq for Curve
Auto Trait Implementations§
impl Forget for Curve
impl Freeze for Curve
impl Move for Curve
impl RefUnwindSafe for Curve
impl Send for Curve
impl Sync for Curve
impl Unpin for Curve
impl UnsafeUnpin for Curve
impl UnwindSafe for Curve
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