#[cfg(feature = "test-support")] #[derive(Clone, Default)] pub struct DeterministicState; #[cfg(feature = "test-support")] impl std::hash::BuildHasher for DeterministicState { type Hasher = seahash::SeaHasher; fn build_hasher(&self) -> Self::Hasher { seahash::SeaHasher::new() } } #[cfg(feature = "test-support")] pub type HashMap = std::collections::HashMap; #[cfg(feature = "test-support")] pub type HashSet = std::collections::HashSet; #[cfg(not(feature = "test-support"))] pub type HashMap = std::collections::HashMap; #[cfg(not(feature = "test-support"))] pub type HashSet = std::collections::HashSet; use std::any::TypeId; pub use std::collections::*; // NEW TYPES #[derive(Default)] pub struct CommandPaletteFilter { pub hidden_namespaces: HashSet<&'static str>, pub hidden_action_types: HashSet, }