pub struct Warning {
pub kind: ParseWarningKind,
pub span: Span,
}
Expand description
A warning.
Fields§
§kind: ParseWarningKind
The kind of warning
span: Span
The span pointing to the source of the warning
Trait Implementations§
source§impl Clone for ParseWarning
impl Clone for ParseWarning
source§fn clone(&self) -> ParseWarning
fn clone(&self) -> ParseWarning
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ParseWarning
impl Send for ParseWarning
impl Sync for ParseWarning
impl Unpin for ParseWarning
impl UnwindSafe for ParseWarning
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