pub struct NumberLit<'a> {
pub range: Range,
pub value: &'a str,
}
Expand description
Represents a number (ex. 123
, 99.99
, -1.2e+2
).
Fields§
§range: Range
§value: &'a str
Trait Implementations§
impl<'a> StructuralPartialEq for NumberLit<'a>
Auto Trait Implementations§
impl<'a> Freeze for NumberLit<'a>
impl<'a> RefUnwindSafe for NumberLit<'a>
impl<'a> Send for NumberLit<'a>
impl<'a> Sync for NumberLit<'a>
impl<'a> Unpin for NumberLit<'a>
impl<'a> UnwindSafe for NumberLit<'a>
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§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
)