pub struct RPU<Item>(pub Item);
Tuple Fields§
§0: Item
Trait 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>,
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