Enum o1vm::cannon::StepFrequency
source · pub enum StepFrequency {
Never,
Always,
Exactly(u64),
Every(u64),
Range(u64, Option<u64>),
}
Variants§
Trait Implementations§
source§impl Clone for StepFrequency
impl Clone for StepFrequency
source§fn clone(&self) -> StepFrequency
fn clone(&self) -> StepFrequency
Returns a copy 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 moresource§impl Debug for StepFrequency
impl Debug for StepFrequency
source§impl FromStr for StepFrequency
impl FromStr for StepFrequency
source§impl PartialEq<StepFrequency> for StepFrequency
impl PartialEq<StepFrequency> for StepFrequency
source§fn eq(&self, other: &StepFrequency) -> bool
fn eq(&self, other: &StepFrequency) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StepFrequency
Auto Trait Implementations§
impl RefUnwindSafe for StepFrequency
impl Send for StepFrequency
impl Sync for StepFrequency
impl Unpin for StepFrequency
impl UnwindSafe for StepFrequency
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