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§
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