pub struct RustAnalyzer {
pub analyze_tests: bool,
pub check_quality_headers: bool,
}Expand description
Specialized analyzer for Rust source files
Fields§
§analyze_tests: boolWhether to analyze test files
check_quality_headers: boolWhether to check for code quality header compliance
Implementations§
Source§impl RustAnalyzer
impl RustAnalyzer
Sourcepub fn with_tests() -> Self
pub fn with_tests() -> Self
Create a Rust analyzer that also analyzes test files
Trait Implementations§
Source§impl Debug for RustAnalyzer
impl Debug for RustAnalyzer
Source§impl Default for RustAnalyzer
impl Default for RustAnalyzer
Source§fn default() -> RustAnalyzer
fn default() -> RustAnalyzer
Returns the “default value” for a type. Read more
Source§impl FileAnalyzer for RustAnalyzer
impl FileAnalyzer for RustAnalyzer
Auto Trait Implementations§
impl Freeze for RustAnalyzer
impl RefUnwindSafe for RustAnalyzer
impl Send for RustAnalyzer
impl Sync for RustAnalyzer
impl Unpin for RustAnalyzer
impl UnwindSafe for RustAnalyzer
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more