contains

Function contains 

Source
pub fn contains<H, P>(haystack: H, needle: P) -> bool
where H: Haystack, P: Needle<H>, H::Target: Hay,