Trait hexe_core::misc::Contained [] [src]

pub trait Contained<T> {
    fn contained_in(self, other: T) -> bool;
}

A type whose instance may be contained in some value.

Required Methods

Returns whether self is contained in other.

Implementors