pub struct LanguageCapabilityRow {
pub language: &'static str,
pub files: usize,
pub symbols: bool,
pub imports: bool,
pub call_graph: bool,
pub symbols_found: Option<usize>,
pub imports_found: Option<usize>,
pub calls_found: Option<usize>,
}Expand description
Per-language capability row for a project: which analyses are available for a language and how many files use it. Backs the dashboard capability legend so each detected language is labelled honestly (symbols / import edges / calls).
Fields§
§language: &'static str§files: usize§symbols: bool§imports: bool§call_graph: bool§symbols_found: Option<usize>Symbols actually extracted for this language in this project. None
when realized counts weren’t measured in the calling context.
imports_found: Option<usize>Import/reexport edges whose source file is in this language.
calls_found: Option<usize>Call edges whose caller file is in this language. None when call data
isn’t available in the calling context (e.g. the dependency-graph route).
Trait Implementations§
Source§impl Clone for LanguageCapabilityRow
impl Clone for LanguageCapabilityRow
Source§fn clone(&self) -> LanguageCapabilityRow
fn clone(&self) -> LanguageCapabilityRow
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 moreSource§impl Debug for LanguageCapabilityRow
impl Debug for LanguageCapabilityRow
impl Eq for LanguageCapabilityRow
Source§impl PartialEq for LanguageCapabilityRow
impl PartialEq for LanguageCapabilityRow
Source§impl Serialize for LanguageCapabilityRow
impl Serialize for LanguageCapabilityRow
impl StructuralPartialEq for LanguageCapabilityRow
Auto Trait Implementations§
impl Freeze for LanguageCapabilityRow
impl RefUnwindSafe for LanguageCapabilityRow
impl Send for LanguageCapabilityRow
impl Sync for LanguageCapabilityRow
impl Unpin for LanguageCapabilityRow
impl UnsafeUnpin for LanguageCapabilityRow
impl UnwindSafe for LanguageCapabilityRow
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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