[][src]Module twitchchat::maybe_owned

This is a std::borrow::Cow like type used in this crate.

It is read-only unlike the std implementation.

Its also specialized for just str

Structs

MaybeOwnedIndex

An index into a MaybeOwned.

Enums

MaybeOwned

A str type that can either be in a borrowed state, or an owned state.

Traits

IntoOwned

Converts a borrowed type into an owned type. e.g. 'a to 'static