pub enum LitKind {
Byte,
Char,
Integer,
Float,
Str,
StrRaw(u8),
ByteStr,
ByteStrRaw(u8),
CStr,
CStrRaw(u8),
ErrWithGuar,
}
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Variants§
Byte
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Char
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Integer
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Float
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Str
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)StrRaw(u8)
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)ByteStr
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)ByteStrRaw(u8)
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)CStr
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)CStrRaw(u8)
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)ErrWithGuar
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Trait Implementations§
impl Copy for LitKind
impl StructuralPartialEq for LitKind
Auto Trait Implementations§
impl Freeze for LitKind
impl RefUnwindSafe for LitKind
impl Send for LitKind
impl Sync for LitKind
impl Unpin for LitKind
impl UnwindSafe for LitKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)] const IS_ZST: bool = _
#[doc(hidden)] const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const LAYOUT: Layout = _
#[doc(hidden)] const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const MAX_SLICE_LEN: usize = _
#[doc(hidden)] const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)The largest safe length for a
[Self]
. Read more