pub enum SchedulePrimary {
Exp {
base_ms: u64,
factor: f64,
cap_ms: u64,
jitter: bool,
},
Fixed {
period_ms: u64,
},
}Expand description
A schedule primary (exp / fixed) from the frozen grammar.
Variants§
Trait Implementations§
Source§impl Clone for SchedulePrimary
impl Clone for SchedulePrimary
Source§fn clone(&self) -> SchedulePrimary
fn clone(&self) -> SchedulePrimary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SchedulePrimary
Source§impl Debug for SchedulePrimary
impl Debug for SchedulePrimary
Source§impl FromStr for SchedulePrimary
impl FromStr for SchedulePrimary
Source§impl PartialEq for SchedulePrimary
impl PartialEq for SchedulePrimary
impl StructuralPartialEq for SchedulePrimary
Auto Trait Implementations§
impl Freeze for SchedulePrimary
impl RefUnwindSafe for SchedulePrimary
impl Send for SchedulePrimary
impl Sync for SchedulePrimary
impl Unpin for SchedulePrimary
impl UnsafeUnpin for SchedulePrimary
impl UnwindSafe for SchedulePrimary
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