pub struct SubDiag {
pub span: Span,
pub msg: String,
}Expand description
An extra span highlighted underneath the primary one.
Fields§
§span: Span§msg: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for SubDiag
impl RefUnwindSafe for SubDiag
impl Send for SubDiag
impl Sync for SubDiag
impl Unpin for SubDiag
impl UnsafeUnpin for SubDiag
impl UnwindSafe for SubDiag
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