os_str_bytes

Trait Pattern

Source
pub trait Pattern: Sealed { }
Expand description

Allows a type to be used for searching by RawOsStr and RawOsString.

This trait is very similar to str::pattern::Pattern, but its methods are private and it is implemented for different types.

Implementations on Foreign Types§

Source§

impl Pattern for &str

Source§

impl Pattern for char

Source§

impl<'a> Pattern for &'a String

Implementors§