# Trait os_str_bytes::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 char

source

### impl Pattern for &str

source

### impl<'a> Pattern for &'a String

## Implementors