Enum cronparse::interval::Interval
[−]
[src]
pub enum Interval<T: Limited> { Value(T), Range(T, T, u8), Full(u8), }
Variants
Value | |
Range | |
Full |
pub enum Interval<T: Limited> { Value(T), Range(T, T, u8), Full(u8), }
Value | |
Range | |
Full |
impl<T> Interval<T> where T: Limited
fn new(val: T) -> Interval<T>
fn full_step(step: u8) -> Interval<T>
fn full() -> Interval<T>
fn from_range(from: T, to: T) -> Interval<T>
fn from_range_step(from: T, to: T, step: u8) -> Interval<T>
fn iter(&self) -> IntervalIter<T>
impl<T> FromStr for Interval<T> where T: Limited, T: FromStr, IntervalParseError: From<T::Err>
type Err = IntervalParseError
fn from_str(s: &str) -> Result<Interval<T>, IntervalParseError>
impl<T: Limited + Display> Display for Interval<T>
impl<T: PartialEq + Limited> PartialEq for Interval<T>
impl<T: Debug + Limited> Debug for Interval<T>