pub type NonEmptyBoxedStr = Box<NonEmptyStr>;Available on crate features
std or alloc only.Expand description
Represents non-empty boxed strings, Box<NonEmptyStr>.
Aliased Type§
pub struct NonEmptyBoxedStr(/* private fields */);Trait Implementations§
Source§impl Clone for NonEmptyBoxedStr
impl Clone for NonEmptyBoxedStr
Source§impl<'de> Deserialize<'de> for NonEmptyBoxedStr
Available on crate feature serde only.
impl<'de> Deserialize<'de> for NonEmptyBoxedStr
Available on crate feature
serde only.Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Cow<'_, NonEmptyStr>> for NonEmptyBoxedStr
impl From<Cow<'_, NonEmptyStr>> for NonEmptyBoxedStr
Source§fn from(non_empty: NonEmptyCowStr<'_>) -> Self
fn from(non_empty: NonEmptyCowStr<'_>) -> Self
Converts to this type from the input type.
Source§impl From<NonEmptyString> for NonEmptyBoxedStr
impl From<NonEmptyString> for NonEmptyBoxedStr
Source§fn from(non_empty: NonEmptyString) -> Self
fn from(non_empty: NonEmptyString) -> Self
Converts to this type from the input type.
Source§impl<'s> FromNonEmptyIterator<&'s NonEmptyStr> for NonEmptyBoxedStr
impl<'s> FromNonEmptyIterator<&'s NonEmptyStr> for NonEmptyBoxedStr
Source§fn from_non_empty_iter<I: IntoNonEmptyIterator<Item = &'s NonEmptyStr>>(
iterable: I,
) -> Self
fn from_non_empty_iter<I: IntoNonEmptyIterator<Item = &'s NonEmptyStr>>( iterable: I, ) -> Self
Creates
Self from the provided non-empty iterator.Source§impl<'c> FromNonEmptyIterator<&'c char> for NonEmptyBoxedStr
impl<'c> FromNonEmptyIterator<&'c char> for NonEmptyBoxedStr
Source§fn from_non_empty_iter<I: IntoNonEmptyIterator<Item = &'c char>>(
iterable: I,
) -> Self
fn from_non_empty_iter<I: IntoNonEmptyIterator<Item = &'c char>>( iterable: I, ) -> Self
Creates
Self from the provided non-empty iterator.Source§impl FromNonEmptyIterator<Box<NonEmptyStr>> for NonEmptyBoxedStr
impl FromNonEmptyIterator<Box<NonEmptyStr>> for NonEmptyBoxedStr
Source§fn from_non_empty_iter<I: IntoNonEmptyIterator<Item = Self>>(
iterable: I,
) -> Self
fn from_non_empty_iter<I: IntoNonEmptyIterator<Item = Self>>( iterable: I, ) -> Self
Creates
Self from the provided non-empty iterator.Source§impl<'s> FromNonEmptyIterator<Cow<'s, NonEmptyStr>> for NonEmptyBoxedStr
impl<'s> FromNonEmptyIterator<Cow<'s, NonEmptyStr>> for NonEmptyBoxedStr
Source§fn from_non_empty_iter<I: IntoNonEmptyIterator<Item = NonEmptyCowStr<'s>>>(
iterable: I,
) -> Self
fn from_non_empty_iter<I: IntoNonEmptyIterator<Item = NonEmptyCowStr<'s>>>( iterable: I, ) -> Self
Creates
Self from the provided non-empty iterator.Source§impl FromNonEmptyIterator<NonEmptyString> for NonEmptyBoxedStr
impl FromNonEmptyIterator<NonEmptyString> for NonEmptyBoxedStr
Source§fn from_non_empty_iter<I: IntoNonEmptyIterator<Item = NonEmptyString>>(
iterable: I,
) -> Self
fn from_non_empty_iter<I: IntoNonEmptyIterator<Item = NonEmptyString>>( iterable: I, ) -> Self
Creates
Self from the provided non-empty iterator.Source§impl FromNonEmptyIterator<char> for NonEmptyBoxedStr
impl FromNonEmptyIterator<char> for NonEmptyBoxedStr
Source§fn from_non_empty_iter<I: IntoNonEmptyIterator<Item = char>>(
iterable: I,
) -> Self
fn from_non_empty_iter<I: IntoNonEmptyIterator<Item = char>>( iterable: I, ) -> Self
Creates
Self from the provided non-empty iterator.Source§impl IntoOwned for NonEmptyBoxedStr
Available on crate feature ownership only.
impl IntoOwned for NonEmptyBoxedStr
Available on crate feature
ownership only.Source§type Owned = Box<NonEmptyStr>
type Owned = Box<NonEmptyStr>
The owned type produced by
into_owned. Read more