pub enum DurationToken {
Fast,
FastMin,
FastMax,
Medium,
MediumMin,
MediumMax,
Slow,
SlowMin,
SlowMax,
}Expand description
动效时长(解析后统一为秒)。min/max 是同一档的微调区间。
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DurationToken
impl Clone for DurationToken
impl Copy for DurationToken
Source§impl Debug for DurationToken
impl Debug for DurationToken
impl Eq for DurationToken
Source§impl Hash for DurationToken
impl Hash for DurationToken
Source§impl Ord for DurationToken
impl Ord for DurationToken
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DurationToken
impl PartialEq for DurationToken
Source§impl PartialOrd for DurationToken
impl PartialOrd for DurationToken
impl StructuralPartialEq for DurationToken
Auto Trait Implementations§
impl Freeze for DurationToken
impl RefUnwindSafe for DurationToken
impl Send for DurationToken
impl Sync for DurationToken
impl Unpin for DurationToken
impl UnsafeUnpin for DurationToken
impl UnwindSafe for DurationToken
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