pub struct CoveringSetOptions {
pub include_dependencies: bool,
pub include_dependents: bool,
pub max_depth: Option<usize>,
pub max_files: Option<usize>,
pub min_importance: Option<f64>,
}Expand description
Options for covering set computation
Fields§
§include_dependencies: boolInclude files that the target depends on
include_dependents: boolInclude files that depend on the target
max_depth: Option<usize>Maximum depth for dependency traversal (None = unlimited)
max_files: Option<usize>Maximum number of files to include (None = unlimited)
min_importance: Option<f64>Minimum importance score to include a file (0.0-1.0)
Implementations§
Source§impl CoveringSetOptions
impl CoveringSetOptions
Sourcepub fn for_understanding() -> Self
pub fn for_understanding() -> Self
Create default options optimized for understanding a target
Sourcepub fn for_impact_analysis() -> Self
pub fn for_impact_analysis() -> Self
Create options optimized for impact analysis
Trait Implementations§
Source§impl Clone for CoveringSetOptions
impl Clone for CoveringSetOptions
Source§fn clone(&self) -> CoveringSetOptions
fn clone(&self) -> CoveringSetOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 CoveringSetOptions
impl Debug for CoveringSetOptions
Source§impl Default for CoveringSetOptions
impl Default for CoveringSetOptions
Source§impl<'de> Deserialize<'de> for CoveringSetOptions
impl<'de> Deserialize<'de> for CoveringSetOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CoveringSetOptions
impl RefUnwindSafe for CoveringSetOptions
impl Send for CoveringSetOptions
impl Sync for CoveringSetOptions
impl Unpin for CoveringSetOptions
impl UnwindSafe for CoveringSetOptions
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