pub struct Warning {
pub end: usize,
pub message: WarningMessage,
pub start: usize,
}
Expand description
Warning from the parser telling that something is not well-formed.
Fields§
§end: usize
The byte position in the wiki text where the warning ends.
message: WarningMessage
An identifier for the kind of warning.
start: usize
The byte position in the wiki text where the warning starts.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Warning
impl RefUnwindSafe for Warning
impl Send for Warning
impl Sync for Warning
impl Unpin for Warning
impl UnwindSafe for Warning
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