diff options
Diffstat (limited to 'mingling_pathf/src/config.rs')
| -rw-r--r-- | mingling_pathf/src/config.rs | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/mingling_pathf/src/config.rs b/mingling_pathf/src/config.rs deleted file mode 100644 index 10ef002..0000000 --- a/mingling_pathf/src/config.rs +++ /dev/null @@ -1,27 +0,0 @@ -// Doc Not Optimize -//! Configuration for the module pathfinder analysis. -//! -//! This module defines [`PathfinderConfig`], which controls behavior such as -//! whether dispatch-tree related types (`__internal_dispatcher_*`) should be -//! extracted. - -/// Configuration for the module pathfinder analysis. -/// -/// Controls behavior such as whether dispatch-tree related types -/// (`__internal_dispatcher_*`) should be extracted. -#[derive(Debug, Clone, Default)] -pub struct PathfinderConfig { - /// Whether to also extract `__internal_dispatcher_*` static types - /// generated by the `dispatch_tree` feature in Mingling. - pub use_dispatch_tree: bool, -} - -impl PathfinderConfig { - /// Create a config with `use_dispatch_tree` enabled. - #[must_use] - pub const fn with_dispatch_tree() -> Self { - Self { - use_dispatch_tree: true, - } - } -} |
