pub struct Context<'a, T: 'a> {
pub range: Range,
pub comments: Vec<&'a str>,
pub value: T,
}
Fields§
§range: Range
§comments: Vec<&'a str>
§value: T
Trait Implementations§
impl<'a, T: Eq + 'a> Eq for Context<'a, T>
impl<'a, T: 'a> StructuralPartialEq for Context<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for Context<'a, T>where
T: Freeze,
impl<'a, T> RefUnwindSafe for Context<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for Context<'a, T>where
T: Send,
impl<'a, T> Sync for Context<'a, T>where
T: Sync,
impl<'a, T> Unpin for Context<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for Context<'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