Trait frame_support::traits::Contains
source · pub trait Contains<T> {
// Required method
fn contains(t: &T) -> bool;
}
Expand description
A trait for querying whether a type can be said to “contain” a value.
pub trait Contains<T> {
// Required method
fn contains(t: &T) -> bool;
}
A trait for querying whether a type can be said to “contain” a value.