pub struct RUTimeUnitRelativeParser;Expand description
Russian time unit relative parser
Implementations§
Trait Implementations§
Source§impl Default for RUTimeUnitRelativeParser
impl Default for RUTimeUnitRelativeParser
Source§impl Parser for RUTimeUnitRelativeParser
impl Parser for RUTimeUnitRelativeParser
Source§fn should_apply(&self, _context: &ParsingContext<'_>) -> bool
fn should_apply(&self, _context: &ParsingContext<'_>) -> bool
Check if this parser should run on the given context
This is a fast pre-filter to skip parsers that won’t match
Source§fn parse(&self, context: &ParsingContext<'_>) -> Result<Vec<ParsedResult>>
fn parse(&self, context: &ParsingContext<'_>) -> Result<Vec<ParsedResult>>
Parse the text and return all matches
Auto Trait Implementations§
impl Freeze for RUTimeUnitRelativeParser
impl RefUnwindSafe for RUTimeUnitRelativeParser
impl Send for RUTimeUnitRelativeParser
impl Sync for RUTimeUnitRelativeParser
impl Unpin for RUTimeUnitRelativeParser
impl UnsafeUnpin for RUTimeUnitRelativeParser
impl UnwindSafe for RUTimeUnitRelativeParser
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