Skip to main content

In

Trait In 

Source
pub trait In: Sized + Expression {
    // Provided methods
    fn one_of<R>(self, list: R) -> InList<Self, R>
       where R: LowerIn<Self::Type> { ... }
    fn in_<R>(self, list: R) -> InList<Self, R>
       where R: LowerIn<Self::Type> { ... }
    fn not_in<R>(self, list: R) -> InList<Self, R>
       where R: LowerIn<Self::Type> { ... }
}
Expand description

Adds in_ and not_in to any expression.

Provided Methods§

Source

fn one_of<R>(self, list: R) -> InList<Self, R>
where R: LowerIn<Self::Type>,

Source

fn in_<R>(self, list: R) -> InList<Self, R>
where R: LowerIn<Self::Type>,

Source

fn not_in<R>(self, list: R) -> InList<Self, R>
where R: LowerIn<Self::Type>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<E> In for E
where E: Expression,