Trait ConfigRange

Source
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§

Source

fn any() -> Self

Source

fn intersect(&self, other: &Self) -> Option<Self>

Source

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.

Implementors§