pub trait ConfigRange:
Sized
+ Debug
+ Clone
+ Send
+ Sync
+ 'static {
type Config;
// Required methods
fn any() -> Self;
fn intersect(&self, other: &Self) -> Option<Self>;
fn contains(&self, config: &Self::Config) -> bool;
}Required Associated Types§
Required Methods§
fn any() -> Self
fn intersect(&self, other: &Self) -> Option<Self>
fn contains(&self, config: &Self::Config) -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.