pub struct Marker {
pub start: Position,
pub end: Position,
pub message: String,
pub severity: MarkerSeverity,
}Fields§
§start: Position§end: Position§message: String§severity: MarkerSeverityTrait Implementations§
Source§impl From<Diagnostic> for Marker
impl From<Diagnostic> for Marker
Source§fn from(d: Diagnostic) -> Self
fn from(d: Diagnostic) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Marker
impl RefUnwindSafe for Marker
impl Send for Marker
impl Sync for Marker
impl Unpin for Marker
impl UnsafeUnpin for Marker
impl UnwindSafe for Marker
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