pub struct WithComment<'a, T> {
pub comment: Vec<Comment<'a>>,
pub data: T,
}Fields§
§comment: Vec<Comment<'a>>§data: TTrait Implementations§
Source§impl<'a, T: Clone> Clone for WithComment<'a, T>
impl<'a, T: Clone> Clone for WithComment<'a, T>
Source§fn clone(&self) -> WithComment<'a, T>
fn clone(&self) -> WithComment<'a, T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a, T: Debug> Debug for WithComment<'a, T>
impl<'a, T: Debug> Debug for WithComment<'a, T>
impl<'a, T: Eq> Eq for WithComment<'a, T>
Source§impl<'a, T: Parsable<'a>> Parsable<'a> for WithComment<'a, T>
impl<'a, T: Parsable<'a>> Parsable<'a> for WithComment<'a, T>
Source§impl<'a, T: PartialEq> PartialEq for WithComment<'a, T>
impl<'a, T: PartialEq> PartialEq for WithComment<'a, T>
impl<'a, T: PartialEq> StructuralPartialEq for WithComment<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for WithComment<'a, T>where
T: Freeze,
impl<'a, T> RefUnwindSafe for WithComment<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for WithComment<'a, T>where
T: Send,
impl<'a, T> Sync for WithComment<'a, T>where
T: Sync,
impl<'a, T> Unpin for WithComment<'a, T>where
T: Unpin,
impl<'a, T> UnsafeUnpin for WithComment<'a, T>where
T: UnsafeUnpin,
impl<'a, T> UnwindSafe for WithComment<'a, T>where
T: 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