pub struct Num<'input> {
pub loc: Loc,
pub kind: NumKind,
pub value: &'input str,
}
Expand description
A number constant.
Fields§
§loc: Loc
§kind: NumKind
§value: &'input str
Implementations§
Trait Implementations§
impl<'input> StructuralPartialEq for Num<'input>
Auto Trait Implementations§
impl<'input> Freeze for Num<'input>
impl<'input> RefUnwindSafe for Num<'input>
impl<'input> Send for Num<'input>
impl<'input> Sync for Num<'input>
impl<'input> Unpin for Num<'input>
impl<'input> UnwindSafe for Num<'input>
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