pub struct NeedsConfig {Show 22 fields
pub min_symbol_length: usize,
pub background_min_ident_length: usize,
pub definition_priority: f64,
pub call_definition_priority: f64,
pub signature_priority: f64,
pub impact_priority: f64,
pub invariant_priority: f64,
pub test_priority: f64,
pub background_priority: f64,
pub concept_background_priority: f64,
pub fallback_priority: f64,
pub identifier_default_priority: f64,
pub defines_scope_match: f64,
pub defines_no_scope: f64,
pub defines_other_scope: f64,
pub impact_scope_match: f64,
pub impact_mentions: f64,
pub signature_defines: f64,
pub test_mentions: f64,
pub mentions_fallback: f64,
pub min_rel_for_bonus: f64,
pub relatedness_bonus: f64,
}Fields§
§min_symbol_length: usize§background_min_ident_length: usize§definition_priority: f64§call_definition_priority: f64§signature_priority: f64§impact_priority: f64§invariant_priority: f64§test_priority: f64§background_priority: f64§concept_background_priority: f64§fallback_priority: f64§identifier_default_priority: f64§defines_scope_match: f64§defines_no_scope: f64§defines_other_scope: f64§impact_scope_match: f64§impact_mentions: f64§signature_defines: f64§test_mentions: f64§mentions_fallback: f64§min_rel_for_bonus: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for NeedsConfig
impl RefUnwindSafe for NeedsConfig
impl Send for NeedsConfig
impl Sync for NeedsConfig
impl Unpin for NeedsConfig
impl UnsafeUnpin for NeedsConfig
impl UnwindSafe for NeedsConfig
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