pub enum DataItem<'a, P> {
Str(&'a str),
Bytes(&'a [u8]),
Parsed(&'a P),
}Variants§
Auto Trait Implementations§
impl<'a, P> Freeze for DataItem<'a, P>
impl<'a, P> RefUnwindSafe for DataItem<'a, P>where
P: RefUnwindSafe,
impl<'a, P> Send for DataItem<'a, P>where
P: Sync,
impl<'a, P> Sync for DataItem<'a, P>where
P: Sync,
impl<'a, P> Unpin for DataItem<'a, P>
impl<'a, P> UnwindSafe for DataItem<'a, P>where
P: RefUnwindSafe,
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