IsntRangeToInclusiveExt

Trait IsntRangeToInclusiveExt 

Source
pub trait IsntRangeToInclusiveExt<Idx>: Sealed<Idx> {
    // Required method
    fn not_contains<U>(&self, item: &U) -> bool
       where Idx: PartialOrd<U>,
             U: PartialOrd<Idx> + ?Sized;
}
Expand description

Extension for RangeToInclusive

Required Methods§

Source

fn not_contains<U>(&self, item: &U) -> bool
where Idx: PartialOrd<U>, U: PartialOrd<Idx> + ?Sized,

The negation of contains

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.

Implementations on Foreign Types§

Source§

impl<Idx> IsntRangeToInclusiveExt<Idx> for RangeToInclusive<Idx>
where Idx: PartialOrd<Idx>,

Source§

fn not_contains<U>(&self, item: &U) -> bool
where Idx: PartialOrd<U>, U: PartialOrd<Idx> + ?Sized,

Implementors§