pub type NonEmptyBoxedStr = Box<NonEmptyStr>;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 and (crate features alloc or std) only.
impl<'de> Deserialize<'de> for NonEmptyBoxedStr
Available on crate feature
serde and (crate features alloc or std) 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<'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<'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 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 and (crate features alloc or std) only.
impl IntoOwned for NonEmptyBoxedStr
Available on crate feature
ownership and (crate features alloc or std) only.Source§type Owned = Box<NonEmptyStr>
type Owned = Box<NonEmptyStr>
The owned type produced by
into_owned. Read moreSource§impl PartialEq<Cow<'_, NonEmptyStr>> for NonEmptyBoxedStr
Available on crate features alloc or std only.
impl PartialEq<Cow<'_, NonEmptyStr>> for NonEmptyBoxedStr
Available on crate features
alloc or std only.Source§impl PartialEq<Cow<'_, str>> for NonEmptyBoxedStr
Available on crate features alloc or std only.
impl PartialEq<Cow<'_, str>> for NonEmptyBoxedStr
Available on crate features
alloc or std only.Source§impl PartialEq<NonEmptyStr> for NonEmptyBoxedStr
Available on crate features alloc or std only.
impl PartialEq<NonEmptyStr> for NonEmptyBoxedStr
Available on crate features
alloc or std only.Source§impl PartialEq<NonEmptyString> for NonEmptyBoxedStr
Available on crate features alloc or std only.
impl PartialEq<NonEmptyString> for NonEmptyBoxedStr
Available on crate features
alloc or std only.Source§impl PartialEq<String> for NonEmptyBoxedStr
Available on crate features alloc or std only.
impl PartialEq<String> for NonEmptyBoxedStr
Available on crate features
alloc or std only.Source§impl PartialEq<str> for NonEmptyBoxedStr
Available on crate features alloc or std only.
impl PartialEq<str> for NonEmptyBoxedStr
Available on crate features
alloc or std only.Source§impl PartialOrd<Box<str>> for NonEmptyBoxedStr
Available on crate features alloc or std only.
impl PartialOrd<Box<str>> for NonEmptyBoxedStr
Available on crate features
alloc or std only.Source§impl PartialOrd<Cow<'_, NonEmptyStr>> for NonEmptyBoxedStr
Available on crate features alloc or std only.
impl PartialOrd<Cow<'_, NonEmptyStr>> for NonEmptyBoxedStr
Available on crate features
alloc or std only.Source§impl PartialOrd<Cow<'_, str>> for NonEmptyBoxedStr
Available on crate features alloc or std only.
impl PartialOrd<Cow<'_, str>> for NonEmptyBoxedStr
Available on crate features
alloc or std only.Source§impl PartialOrd<NonEmptyStr> for NonEmptyBoxedStr
Available on crate features alloc or std only.
impl PartialOrd<NonEmptyStr> for NonEmptyBoxedStr
Available on crate features
alloc or std only.Source§impl PartialOrd<NonEmptyString> for NonEmptyBoxedStr
Available on crate features alloc or std only.
impl PartialOrd<NonEmptyString> for NonEmptyBoxedStr
Available on crate features
alloc or std only.Source§impl PartialOrd<String> for NonEmptyBoxedStr
Available on crate features alloc or std only.
impl PartialOrd<String> for NonEmptyBoxedStr
Available on crate features
alloc or std only.Source§impl PartialOrd<str> for NonEmptyBoxedStr
Available on crate features alloc or std only.
impl PartialOrd<str> for NonEmptyBoxedStr
Available on crate features
alloc or std only.