[−][src]Enum genco::tokens::ItemStr
A managed string that permits immutable borrowing.
Variants
A refcounted string.
Static(&'static str)
A static string.
Trait Implementations
impl AsRef<str> for ItemStr
[src]
impl Clone for ItemStr
[src]
impl Debug for ItemStr
[src]
impl Deref for ItemStr
[src]
impl Display for ItemStr
[src]
impl Eq for ItemStr
[src]
impl<L> FormatInto<L> for ItemStr where
L: Lang,
[src]
L: Lang,
Convert stringy things.
fn format_into(self, tokens: &mut Tokens<L>)
[src]
impl<'a, L> FormatInto<L> for &'a ItemStr where
L: Lang,
[src]
L: Lang,
fn format_into(self, tokens: &mut Tokens<L>)
[src]
impl<'a> From<&'a &'a str> for ItemStr
[src]
impl<'a, 'b> From<&'a Cow<'b, str>> for ItemStr
[src]
impl<'a> From<&'a ItemStr> for ItemStr
[src]
impl<'a> From<&'a String> for ItemStr
[src]
impl<'a> From<&'a str> for ItemStr
[src]
impl From<Box<str>> for ItemStr
[src]
impl<'a> From<Cow<'a, str>> for ItemStr
[src]
impl<L> From<ItemStr> for Item<L> where
L: Lang,
[src]
L: Lang,
impl From<Rc<String>> for ItemStr
[src]
impl From<String> for ItemStr
[src]
impl Hash for ItemStr
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for ItemStr
[src]
fn cmp(&self, other: &ItemStr) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<ItemStr> for ItemStr
[src]
impl PartialOrd<ItemStr> for ItemStr
[src]
fn partial_cmp(&self, other: &ItemStr) -> Option<Ordering>
[src]
fn lt(&self, other: &ItemStr) -> bool
[src]
fn le(&self, other: &ItemStr) -> bool
[src]
fn gt(&self, other: &ItemStr) -> bool
[src]
fn ge(&self, other: &ItemStr) -> bool
[src]
impl StructuralEq for ItemStr
[src]
impl StructuralPartialEq for ItemStr
[src]
Auto Trait Implementations
impl RefUnwindSafe for ItemStr
impl Send for ItemStr
impl Sync for ItemStr
impl Unpin for ItemStr
impl UnwindSafe for ItemStr
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,