pub struct ExplorerConfig {Show 13 fields
pub interactive_mode: bool,
pub performance_analysis: bool,
pub visual_graph: bool,
pub max_depth: usize,
pub complexity_analysis: bool,
pub generate_examples: bool,
pub output_dir: Option<PathBuf>,
pub export_format: GraphExportFormat,
pub parallel_analysis: bool,
pub security_analysis: bool,
pub cross_platform_analysis: bool,
pub enable_caching: bool,
pub verbose: bool,
}Expand description
Configuration for the trait explorer with comprehensive options
Fields§
§interactive_mode: boolEnable interactive mode with user input
performance_analysis: boolInclude performance analysis of implementations
visual_graph: boolGenerate visual graphs of trait relationships
max_depth: usizeMaximum depth for trait hierarchy exploration
complexity_analysis: boolInclude implementation complexity analysis
generate_examples: boolGenerate usage examples
output_dir: Option<PathBuf>Output directory for generated files
export_format: GraphExportFormatExport format for graphs and visualizations
parallel_analysis: boolEnable parallel analysis where possible
security_analysis: boolInclude security analysis
cross_platform_analysis: boolInclude cross-platform compatibility analysis
enable_caching: boolCache analysis results
verbose: boolVerbose output mode
Implementations§
Source§impl ExplorerConfig
impl ExplorerConfig
Sourcepub fn new() -> ExplorerConfig
pub fn new() -> ExplorerConfig
Create a new explorer configuration with default settings
Sourcepub fn with_interactive_mode(self, enabled: bool) -> ExplorerConfig
pub fn with_interactive_mode(self, enabled: bool) -> ExplorerConfig
Enable interactive mode
Sourcepub fn with_performance_analysis(self, enabled: bool) -> ExplorerConfig
pub fn with_performance_analysis(self, enabled: bool) -> ExplorerConfig
Enable performance analysis
Sourcepub fn with_visual_graph(self, enabled: bool) -> ExplorerConfig
pub fn with_visual_graph(self, enabled: bool) -> ExplorerConfig
Enable visual graph generation
Sourcepub fn with_max_depth(self, depth: usize) -> ExplorerConfig
pub fn with_max_depth(self, depth: usize) -> ExplorerConfig
Set maximum exploration depth
Sourcepub fn with_complexity_analysis(self, enabled: bool) -> ExplorerConfig
pub fn with_complexity_analysis(self, enabled: bool) -> ExplorerConfig
Enable complexity analysis
Sourcepub fn with_generate_examples(self, enabled: bool) -> ExplorerConfig
pub fn with_generate_examples(self, enabled: bool) -> ExplorerConfig
Enable example generation
Sourcepub fn with_output_dir(self, dir: PathBuf) -> ExplorerConfig
pub fn with_output_dir(self, dir: PathBuf) -> ExplorerConfig
Set output directory
Sourcepub fn with_export_format(self, format: GraphExportFormat) -> ExplorerConfig
pub fn with_export_format(self, format: GraphExportFormat) -> ExplorerConfig
Set export format
Sourcepub fn with_parallel_analysis(self, enabled: bool) -> ExplorerConfig
pub fn with_parallel_analysis(self, enabled: bool) -> ExplorerConfig
Enable parallel analysis
Sourcepub fn with_security_analysis(self, enabled: bool) -> ExplorerConfig
pub fn with_security_analysis(self, enabled: bool) -> ExplorerConfig
Enable security analysis
Sourcepub fn with_cross_platform_analysis(self, enabled: bool) -> ExplorerConfig
pub fn with_cross_platform_analysis(self, enabled: bool) -> ExplorerConfig
Enable cross-platform analysis
Sourcepub fn with_caching(self, enabled: bool) -> ExplorerConfig
pub fn with_caching(self, enabled: bool) -> ExplorerConfig
Enable result caching
Sourcepub fn with_verbose(self, enabled: bool) -> ExplorerConfig
pub fn with_verbose(self, enabled: bool) -> ExplorerConfig
Enable verbose output
Sourcepub fn validate(&self) -> Result<(), SklearsError>
pub fn validate(&self) -> Result<(), SklearsError>
Validate configuration settings
Trait Implementations§
Source§impl Clone for ExplorerConfig
impl Clone for ExplorerConfig
Source§fn clone(&self) -> ExplorerConfig
fn clone(&self) -> ExplorerConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExplorerConfig
impl Debug for ExplorerConfig
Source§impl Default for ExplorerConfig
impl Default for ExplorerConfig
Source§fn default() -> ExplorerConfig
fn default() -> ExplorerConfig
Source§impl<'de> Deserialize<'de> for ExplorerConfig
impl<'de> Deserialize<'de> for ExplorerConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExplorerConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExplorerConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for ExplorerConfig
impl Serialize for ExplorerConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Freeze for ExplorerConfig
impl RefUnwindSafe for ExplorerConfig
impl Send for ExplorerConfig
impl Sync for ExplorerConfig
impl Unpin for ExplorerConfig
impl UnsafeUnpin for ExplorerConfig
impl UnwindSafe for ExplorerConfig
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
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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>
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>
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