pub struct LinterWarning {
pub message: &'static str,
pub start: usize,
pub end: usize,
}
Fields§
§message: &'static str
§start: usize
§end: usize
Trait Implementations§
Source§impl Debug for LinterWarning
impl Debug for LinterWarning
Source§impl Display for LinterWarning
impl Display for LinterWarning
Source§impl Error for LinterWarning
impl Error for LinterWarning
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
Auto Trait Implementations§
impl Freeze for LinterWarning
impl RefUnwindSafe for LinterWarning
impl Send for LinterWarning
impl Sync for LinterWarning
impl Unpin for LinterWarning
impl UnwindSafe for LinterWarning
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