pub enum DurationScale {
Half,
Double,
}Expand description
Exact power-of-two duration scaling supported by the portable score model.
Variants§
Trait Implementations§
Source§impl Clone for DurationScale
impl Clone for DurationScale
impl Copy for DurationScale
Source§impl Debug for DurationScale
impl Debug for DurationScale
Source§impl<'de> Deserialize<'de> for DurationScale
impl<'de> Deserialize<'de> for DurationScale
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
impl Eq for DurationScale
Source§impl PartialEq for DurationScale
impl PartialEq for DurationScale
Source§impl Serialize for DurationScale
impl Serialize for DurationScale
impl StructuralPartialEq for DurationScale
Auto Trait Implementations§
impl Freeze for DurationScale
impl RefUnwindSafe for DurationScale
impl Send for DurationScale
impl Sync for DurationScale
impl Unpin for DurationScale
impl UnsafeUnpin for DurationScale
impl UnwindSafe for DurationScale
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