pub type FosterString = Foster<String, &'static str>;
Expand description
Aliased Type§
pub enum FosterString {
Owned(String),
Fostered(&'static str),
}
Variants§
Trait Implementations§
Source§impl AsRef<str> for FosterString
impl AsRef<str> for FosterString
Source§impl Display for FosterString
impl Display for FosterString
Source§impl From<&str> for FosterString
impl From<&str> for FosterString
Source§impl Hash for FosterString
impl Hash for FosterString
Source§impl IntoOwned for FosterString
impl IntoOwned for FosterString
Source§fn into_owned(self) -> Self
fn into_owned(self) -> Self
Into owned.