Struct jsonc_parser::ast::NumberLit
source · 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§
source§impl<'a> PartialEq<NumberLit<'a>> for NumberLit<'a>
impl<'a> PartialEq<NumberLit<'a>> for NumberLit<'a>
impl<'a> StructuralPartialEq for NumberLit<'a>
Auto Trait Implementations§
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