pub struct PreprocessWarning {
pub code: String,
pub message: String,
pub span: Span,
}Expand description
A source-attributed preprocessing warning.
Fields§
§code: String§message: String§span: SpanTrait Implementations§
Source§impl Clone for PreprocessWarning
impl Clone for PreprocessWarning
Source§fn clone(&self) -> PreprocessWarning
fn clone(&self) -> PreprocessWarning
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PreprocessWarning
impl Debug for PreprocessWarning
impl Eq for PreprocessWarning
Source§impl PartialEq for PreprocessWarning
impl PartialEq for PreprocessWarning
impl StructuralPartialEq for PreprocessWarning
Auto Trait Implementations§
impl Freeze for PreprocessWarning
impl RefUnwindSafe for PreprocessWarning
impl Send for PreprocessWarning
impl Sync for PreprocessWarning
impl Unpin for PreprocessWarning
impl UnsafeUnpin for PreprocessWarning
impl UnwindSafe for PreprocessWarning
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