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.
Required Methods§
Object Safety§
This trait is not object safe.