pub struct WithSpan<'a, T> {
pub span: Span<'a>,
pub node: T,
}
Fields§
§span: Span<'a>
§node: T
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for WithSpan<'a, T>where
T: Freeze,
impl<'a, T> RefUnwindSafe for WithSpan<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for WithSpan<'a, T>where
T: Send,
impl<'a, T> Sync for WithSpan<'a, T>where
T: Sync,
impl<'a, T> Unpin for WithSpan<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for WithSpan<'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