Skip to main content

StrPattern

Trait StrPattern 

Source
pub trait StrPattern: Sealed { }
Expand description

A pattern that can be used with starts_with and ends_with methods.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl StrPattern for &String

Source§

impl StrPattern for &str

Source§

impl StrPattern for char

Implementors§