pub struct Label {
pub span: Span,
pub message: String,
}Expand description
A secondary location attached to a diagnostic.
Fields§
§span: Span§message: StringTrait Implementations§
impl Eq for Label
impl StructuralPartialEq for Label
Auto Trait Implementations§
impl Forget for Label
impl Freeze for Label
impl Move for Label
impl RefUnwindSafe for Label
impl Send for Labelwhere
RawVecInner: Send,
impl Sync for Labelwhere
RawVecInner: Sync,
impl Unpin for Label
impl UnsafeUnpin for Label
impl UnwindSafe for Labelwhere
RawVecInner: 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