pub enum LitStrKind {
Quoted,
Escaped,
}
Variants§
Trait Implementations§
Source§impl Clone for LitStrKind
impl Clone for LitStrKind
Source§fn clone(&self) -> LitStrKind
fn clone(&self) -> LitStrKind
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> CustomToTokens<'a> for LitStrKind
impl<'a> CustomToTokens<'a> for LitStrKind
Source§impl Debug for LitStrKind
impl Debug for LitStrKind
Source§impl Hash for LitStrKind
impl Hash for LitStrKind
Source§impl Ord for LitStrKind
impl Ord for LitStrKind
Source§fn cmp(&self, other: &LitStrKind) -> Ordering
fn cmp(&self, other: &LitStrKind) -> 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 PartialEq for LitStrKind
impl PartialEq for LitStrKind
Source§impl PartialOrd for LitStrKind
impl PartialOrd for LitStrKind
Source§impl ToTokens for LitStrKind
impl ToTokens for LitStrKind
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 Copy for LitStrKind
impl Eq for LitStrKind
impl StructuralPartialEq for LitStrKind
Auto Trait Implementations§
impl Freeze for LitStrKind
impl RefUnwindSafe for LitStrKind
impl Send for LitStrKind
impl Sync for LitStrKind
impl Unpin for LitStrKind
impl UnwindSafe for LitStrKind
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