pub struct CronParser;
34 35 36 37 38 39
pub fn new(crond_string: &str) -> Result<Self> { Ok(Self { expr: CronParser::parse(crond_string)?, phantom: PhantomData, }) }
TypeId
self
Returns the argument unchanged.
Calls U::from(self).
U::from(self)
That is, this conversion is whatever the implementation of From<T> for U chooses to do.
From<T> for U