Enum kodept_parse::lexer::enums::Literal
source · pub enum Literal<'t> {
Binary(&'t str),
Octal(&'t str),
Hex(&'t str),
Floating(&'t str),
Char(&'t str),
String(&'t str),
}Variants§
Trait Implementations§
source§impl<'t> PartialEq for Literal<'t>
impl<'t> PartialEq for Literal<'t>
impl<'t> Copy for Literal<'t>
impl<'t> StructuralPartialEq for Literal<'t>
Auto Trait Implementations§
impl<'t> Freeze for Literal<'t>
impl<'t> RefUnwindSafe for Literal<'t>
impl<'t> Send for Literal<'t>
impl<'t> Sync for Literal<'t>
impl<'t> Unpin for Literal<'t>
impl<'t> UnwindSafe for Literal<'t>
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)