pub struct DisplayTrySpan<T> {
pub display: T,
pub try_span: Option<Span>,
}Expand description
Fields§
§display: TDisplayable part.
try_span: Option<Span>Spannable part.
Trait Implementations§
Source§impl<T: Display> Display for DisplayTrySpan<T>
impl<T: Display> Display for DisplayTrySpan<T>
Auto Trait Implementations§
impl<T> Freeze for DisplayTrySpan<T>where
T: Freeze,
impl<T> RefUnwindSafe for DisplayTrySpan<T>where
T: RefUnwindSafe,
impl<T> !Send for DisplayTrySpan<T>
impl<T> !Sync for DisplayTrySpan<T>
impl<T> Unpin for DisplayTrySpan<T>where
T: Unpin,
impl<T> UnwindSafe for DisplayTrySpan<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