pub enum RunsDecl {
Count(u32),
Word(String),
}Expand description
runs as written: a count, or a word. Only "auto" is a valid word,
checked when the subject is resolved so the error names it.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunsDecl
impl<'de> Deserialize<'de> for RunsDecl
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
Auto Trait Implementations§
impl Forget for RunsDecl
impl Freeze for RunsDecl
impl Move for RunsDecl
impl RefUnwindSafe for RunsDecl
impl Send for RunsDeclwhere
RawVecInner: Send,
impl Sync for RunsDeclwhere
RawVecInner: Sync,
impl Unpin for RunsDecl
impl UnsafeUnpin for RunsDecl
impl UnwindSafe for RunsDeclwhere
RawVecInner: UnwindSafe,
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