pub struct Directive {
pub rules: Vec<String>,
pub reason: Option<String>,
pub comment_line: usize,
pub target_line: Option<usize>,
}Expand description
무시 주석 한 건.
Fields§
§rules: Vec<String>무시할 규칙 ID들 (예: [“R1”, “R7”]).
reason: Option<String>-- 뒤의 사유. 없으면 무시가 적용되지 않는다.
comment_line: usize주석이 있는 행 (1부터).
target_line: Option<usize>무시가 적용될 행. 단독 주석인데 뒤에 의미 행이 없으면 None.
Auto Trait Implementations§
impl Freeze for Directive
impl RefUnwindSafe for Directive
impl Send for Directive
impl Sync for Directive
impl Unpin for Directive
impl UnsafeUnpin for Directive
impl UnwindSafe for Directive
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