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§
fn one_of<R>(self, list: R) -> InList<Self, R>
fn in_<R>(self, list: R) -> InList<Self, R>
fn not_in<R>(self, list: R) -> InList<Self, R>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".