pub type TimeZone = PlSmallStr;
Aliased Type§
struct TimeZone(/* private fields */);
Implementations
Source§impl PlSmallStr
impl PlSmallStr
pub const EMPTY: PlSmallStr
pub const EMPTY_REF: &'static PlSmallStr
pub const fn from_static(s: &'static str) -> PlSmallStr
pub fn from_str(s: &str) -> PlSmallStr
pub fn from_string(s: String) -> PlSmallStr
pub fn as_str(&self) -> &str
pub fn as_mut_str(&mut self) -> &mut str
pub fn into_string(self) -> String
Trait Implementations
Source§impl AsRef<[u8]> for PlSmallStr
impl AsRef<[u8]> for PlSmallStr
Source§impl AsRef<OsStr> for PlSmallStr
impl AsRef<OsStr> for PlSmallStr
Source§impl AsRef<Path> for PlSmallStr
impl AsRef<Path> for PlSmallStr
Source§impl AsRef<str> for PlSmallStr
impl AsRef<str> for PlSmallStr
Source§impl Borrow<str> for PlSmallStr
impl Borrow<str> for PlSmallStr
Source§impl Clone for PlSmallStr
impl Clone for PlSmallStr
Source§fn clone(&self) -> PlSmallStr
fn clone(&self) -> PlSmallStr
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PlSmallStr
impl Debug for PlSmallStr
Source§impl Default for PlSmallStr
impl Default for PlSmallStr
Source§fn default() -> PlSmallStr
fn default() -> PlSmallStr
Returns the “default value” for a type. Read more
Source§impl Deref for PlSmallStr
impl Deref for PlSmallStr
Source§impl DerefMut for PlSmallStr
impl DerefMut for PlSmallStr
Source§impl<'de> Deserialize<'de> for PlSmallStr
impl<'de> Deserialize<'de> for PlSmallStr
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlSmallStr, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlSmallStr, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PlSmallStr
impl Display for PlSmallStr
Source§impl From<&String> for PlSmallStr
impl From<&String> for PlSmallStr
Source§fn from(value: &String) -> PlSmallStr
fn from(value: &String) -> PlSmallStr
Converts to this type from the input type.
Source§impl From<&str> for PlSmallStr
impl From<&str> for PlSmallStr
Source§fn from(value: &str) -> PlSmallStr
fn from(value: &str) -> PlSmallStr
Converts to this type from the input type.
Source§impl From<CompactString> for PlSmallStr
impl From<CompactString> for PlSmallStr
Source§fn from(value: CompactString) -> PlSmallStr
fn from(value: CompactString) -> PlSmallStr
Converts to this type from the input type.
Source§impl From<String> for PlSmallStr
impl From<String> for PlSmallStr
Source§fn from(value: String) -> PlSmallStr
fn from(value: String) -> PlSmallStr
Converts to this type from the input type.
Source§impl<'a> FromIterator<&'a PlSmallStr> for PlSmallStr
impl<'a> FromIterator<&'a PlSmallStr> for PlSmallStr
Source§fn from_iter<T>(iter: T) -> PlSmallStrwhere
T: IntoIterator<Item = &'a PlSmallStr>,
fn from_iter<T>(iter: T) -> PlSmallStrwhere
T: IntoIterator<Item = &'a PlSmallStr>,
Creates a value from an iterator. Read more
Source§impl<'a> FromIterator<&'a char> for PlSmallStr
impl<'a> FromIterator<&'a char> for PlSmallStr
Source§fn from_iter<I>(iter: I) -> PlSmallStrwhere
I: IntoIterator<Item = &'a char>,
fn from_iter<I>(iter: I) -> PlSmallStrwhere
I: IntoIterator<Item = &'a char>,
Creates a value from an iterator. Read more
Source§impl<'a> FromIterator<&'a str> for PlSmallStr
impl<'a> FromIterator<&'a str> for PlSmallStr
Source§fn from_iter<I>(iter: I) -> PlSmallStrwhere
I: IntoIterator<Item = &'a str>,
fn from_iter<I>(iter: I) -> PlSmallStrwhere
I: IntoIterator<Item = &'a str>,
Creates a value from an iterator. Read more
Source§impl FromIterator<Box<str>> for PlSmallStr
impl FromIterator<Box<str>> for PlSmallStr
Source§fn from_iter<I>(iter: I) -> PlSmallStr
fn from_iter<I>(iter: I) -> PlSmallStr
Creates a value from an iterator. Read more
Source§impl<'a> FromIterator<Cow<'a, str>> for PlSmallStr
impl<'a> FromIterator<Cow<'a, str>> for PlSmallStr
Source§fn from_iter<I>(iter: I) -> PlSmallStr
fn from_iter<I>(iter: I) -> PlSmallStr
Creates a value from an iterator. Read more
Source§impl FromIterator<PlSmallStr> for PlSmallStr
impl FromIterator<PlSmallStr> for PlSmallStr
Source§fn from_iter<T>(iter: T) -> PlSmallStrwhere
T: IntoIterator<Item = PlSmallStr>,
fn from_iter<T>(iter: T) -> PlSmallStrwhere
T: IntoIterator<Item = PlSmallStr>,
Creates a value from an iterator. Read more
Source§impl FromIterator<String> for PlSmallStr
impl FromIterator<String> for PlSmallStr
Source§fn from_iter<I>(iter: I) -> PlSmallStrwhere
I: IntoIterator<Item = String>,
fn from_iter<I>(iter: I) -> PlSmallStrwhere
I: IntoIterator<Item = String>,
Creates a value from an iterator. Read more
Source§impl FromIterator<char> for PlSmallStr
impl FromIterator<char> for PlSmallStr
Source§fn from_iter<I>(iter: I) -> PlSmallStrwhere
I: IntoIterator<Item = char>,
fn from_iter<I>(iter: I) -> PlSmallStrwhere
I: IntoIterator<Item = char>,
Creates a value from an iterator. Read more
Source§impl Hash for PlSmallStr
impl Hash for PlSmallStr
Source§impl Ord for PlSmallStr
impl Ord for PlSmallStr
Source§fn cmp(&self, other: &PlSmallStr) -> Ordering
fn cmp(&self, other: &PlSmallStr) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T> PartialEq<T> for PlSmallStr
impl<T> PartialEq<T> for PlSmallStr
Source§impl PartialOrd for PlSmallStr
impl PartialOrd for PlSmallStr
Source§impl Serialize for PlSmallStr
impl Serialize for PlSmallStr
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more