pub trait Container<T> {
// Required method
fn contains(&self, item: &T) -> bool;
}Expand description
Joins collections functionality to check if given item is present in it. Used in generics of some units methods.
pub trait Container<T> {
// Required method
fn contains(&self, item: &T) -> bool;
}Joins collections functionality to check if given item is present in it. Used in generics of some units methods.