pub struct LitStr {
pub kind: LitStrKind,
pub value: String,
}
Fields§
§kind: LitStrKind
§value: String
Implementations§
Trait Implementations§
Source§impl<'a> CustomToTokens<'a> for LitStr
impl<'a> CustomToTokens<'a> for LitStr
Source§impl Ord for LitStr
impl Ord for LitStr
Source§impl PartialOrd for LitStr
impl PartialOrd 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,
impl Eq for LitStr
impl StructuralPartialEq for LitStr
Auto Trait Implementations§
impl Freeze for LitStr
impl RefUnwindSafe for LitStr
impl Send for LitStr
impl Sync for LitStr
impl Unpin for LitStr
impl UnwindSafe for LitStr
Blanket Implementations§
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