pub struct WithComments<'r, O> {
pub comments: Option<Vec<&'r str>>,
pub value: O,
}
Fields§
§comments: Option<Vec<&'r str>>
§value: O
Auto Trait Implementations§
impl<'r, O> Freeze for WithComments<'r, O>where
O: Freeze,
impl<'r, O> RefUnwindSafe for WithComments<'r, O>where
O: RefUnwindSafe,
impl<'r, O> Send for WithComments<'r, O>where
O: Send,
impl<'r, O> Sync for WithComments<'r, O>where
O: Sync,
impl<'r, O> Unpin for WithComments<'r, O>where
O: Unpin,
impl<'r, O> UnwindSafe for WithComments<'r, O>where
O: 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