Skip to main content

ImmutableText

Trait ImmutableText 

Source
pub trait ImmutableText: Sealed + AsRef<str> { }
Expand description

Immutable borrowed or owned text storage for a checked string.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ImmutableText for &str

Source§

impl ImmutableText for String

Implementors§