pub trait Pattern: Sealed { }Available on crate feature
alloc only.Expand description
A stable pattern type that can be used by replacement and trimming methods.
This trait is local to this crate because the standard library Pattern trait is still unstable to name in public APIs.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".