pub enum StepSelector {
All,
Exact {
steps: Vec<u32>,
},
}Expand description
Exact schedule boundaries selected for one mechanic.
Variants§
All
Every completed state transition.
Exact
A canonical sorted set of zero-based completed transitions.
Implementations§
Source§impl StepSelector
impl StepSelector
Trait Implementations§
Source§impl Clone for StepSelector
impl Clone for StepSelector
Source§impl Debug for StepSelector
impl Debug for StepSelector
Source§impl<'de> Deserialize<'de> for StepSelector
impl<'de> Deserialize<'de> for StepSelector
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 StepSelector
Source§impl PartialEq for StepSelector
impl PartialEq for StepSelector
Source§impl Serialize for StepSelector
impl Serialize for StepSelector
impl StructuralPartialEq for StepSelector
Auto Trait Implementations§
impl Freeze for StepSelector
impl RefUnwindSafe for StepSelector
impl Send for StepSelector
impl Sync for StepSelector
impl Unpin for StepSelector
impl UnsafeUnpin for StepSelector
impl UnwindSafe for StepSelector
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