pub struct ReqWarning {
pub file: PathBuf,
pub req_id: RuleId,
pub line: usize,
pub span: SourceSpan,
pub kind: ReqWarningKind,
}Expand description
Warning about requirement quality.
Fields§
§file: PathBufFile where the warning occurred
req_id: RuleIdRequirement ID this warning relates to
line: usizeLine number (1-indexed)
span: SourceSpanByte span of the requirement
kind: ReqWarningKindWhat kind of warning
Trait Implementations§
Source§impl Clone for ReqWarning
impl Clone for ReqWarning
Source§fn clone(&self) -> ReqWarning
fn clone(&self) -> ReqWarning
Returns a duplicate 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 moreSource§impl Debug for ReqWarning
impl Debug for ReqWarning
Auto Trait Implementations§
impl Freeze for ReqWarning
impl RefUnwindSafe for ReqWarning
impl Send for ReqWarning
impl Sync for ReqWarning
impl Unpin for ReqWarning
impl UnsafeUnpin for ReqWarning
impl UnwindSafe for ReqWarning
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