Struct rustfmt_nightly::issues::BadIssueSeeker
source · [−]pub(crate) struct BadIssueSeeker {
state: Seeking,
report_todo: ReportTactic,
report_fixme: ReportTactic,
}Fields
state: Seekingreport_todo: ReportTacticreport_fixme: ReportTacticImplementations
sourceimpl BadIssueSeeker
impl BadIssueSeeker
pub(crate) fn new(
report_todo: ReportTactic,
report_fixme: ReportTactic
) -> BadIssueSeeker
pub(crate) fn is_disabled(&self) -> bool
pub(crate) fn inspect(&mut self, c: char) -> Option<Issue>
fn inspect_issue(
&mut self,
c: char,
todo_idx: usize,
fixme_idx: usize
) -> Seeking
fn inspect_number(
&mut self,
c: char,
issue: Issue,
part: NumberPart
) -> IssueClassification
Auto Trait Implementations
impl RefUnwindSafe for BadIssueSeeker
impl Send for BadIssueSeeker
impl Sync for BadIssueSeeker
impl Unpin for BadIssueSeeker
impl UnwindSafe for BadIssueSeeker
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes