pub struct RustAnalyzer;Expand description
Heuristic Rust analyzer used by cockpit review gates.
Trait Implementations§
Source§impl Clone for RustAnalyzer
impl Clone for RustAnalyzer
Source§fn clone(&self) -> RustAnalyzer
fn clone(&self) -> RustAnalyzer
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 moreimpl Copy for RustAnalyzer
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 SourceAnalyzer for RustAnalyzer
impl SourceAnalyzer for RustAnalyzer
Source§fn analyze_rust(&self, content: &str) -> RustFunctionComplexitySummary
fn analyze_rust(&self, content: &str) -> RustFunctionComplexitySummary
Analyze function-scoped Rust complexity for one source file.
Auto Trait Implementations§
impl Freeze for RustAnalyzer
impl RefUnwindSafe for RustAnalyzer
impl Send for RustAnalyzer
impl Sync for RustAnalyzer
impl Unpin for RustAnalyzer
impl UnsafeUnpin 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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