pub struct LitStr {
pub kind: LitStrKind,
pub value: String,
}Fields§
§kind: LitStrKind§value: StringImplementations§
Trait Implementations§
Source§impl<'a> CustomToTokens<'a> for LitStr
impl<'a> CustomToTokens<'a> for LitStr
impl Eq for LitStr
Source§impl Ord for LitStr
impl Ord for LitStr
1.21.0 (const: unstable) · 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 PartialOrd for LitStr
impl PartialOrd for LitStr
impl StructuralPartialEq for LitStr
Source§impl ToTokens for LitStr
impl ToTokens for LitStr
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for LitStr
impl RefUnwindSafe for LitStr
impl Send for LitStr
impl Sync for LitStr
impl Unpin for LitStr
impl UnsafeUnpin for LitStr
impl UnwindSafe for LitStr
Blanket Implementations§
impl<T> Any for Twhere
T: Any,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more