Skip to main content

trustformers_debug/ide_integration/
trait_impls.rs

1//! # IDEPluginConfig - Trait Implementations
2//!
3//! This module contains trait implementations for `IDEPluginConfig`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//! - `Default`
9//! - `Default`
10//!
11//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
12
13use std::path::PathBuf;
14
15use super::types::IDEPluginConfig;
16use super::types_3::{IDEPluginManager, JupyterWidgetManager};
17
18impl Default for IDEPluginConfig {
19    fn default() -> Self {
20        Self {
21            enable_syntax_highlighting: true,
22            enable_code_completion: true,
23            enable_inline_debugging: true,
24            enable_tensor_visualization: true,
25            enable_real_time_metrics: true,
26            auto_open_debugger: false,
27            visualization_format: "png".to_string(),
28            debug_port: 8899,
29            max_variable_display_length: 1000,
30            refresh_interval_ms: 1000,
31            workspace_root: PathBuf::from("."),
32            log_level: "info".to_string(),
33        }
34    }
35}
36
37impl Default for IDEPluginManager {
38    fn default() -> Self {
39        Self::new()
40    }
41}
42
43impl Default for JupyterWidgetManager {
44    fn default() -> Self {
45        Self::new()
46    }
47}