pub struct RPU<Item>(pub Item);Tuple Fields§
§0: ItemTrait Implementations§
source§impl<Item, S: Source> ReverseParseUnit<S> for RPU<Item>where
Item: ReverseParseUnit<S>,
impl<Item, S: Source> ReverseParseUnit<S> for RPU<Item>where
Item: ReverseParseUnit<S>,
§type Left = PU<<Item as ReverseParseUnit<S>>::Left>
type Left = PU<<Item as ReverseParseUnit<S>>::Left>
the type of the reverse parse result
source§fn reverse_parse(&self, p: &mut Parser<S>) -> Result<Self::Left, ParseError>
fn reverse_parse(&self, p: &mut Parser<S>) -> Result<Self::Left, ParseError>
you should not call
ReverseParseUnit::reverse_parse directly, using [Parser::r#match] insteadAuto Trait Implementations§
impl<Item> Freeze for RPU<Item>where
Item: Freeze,
impl<Item> RefUnwindSafe for RPU<Item>where
Item: RefUnwindSafe,
impl<Item> Send for RPU<Item>where
Item: Send,
impl<Item> Sync for RPU<Item>where
Item: Sync,
impl<Item> Unpin for RPU<Item>where
Item: Unpin,
impl<Item> UnwindSafe for RPU<Item>where
Item: 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