pub struct IntegerSpan {
pub value: i32,
pub pos: LineCol,
}
Expand description
Components of an integer literal expression.
Fields§
§value: i32
The integer literal.
pos: LineCol
Starting position of the literal.
Trait Implementations§
Source§impl Clone for IntegerSpan
impl Clone for IntegerSpan
Source§fn clone(&self) -> IntegerSpan
fn clone(&self) -> IntegerSpan
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IntegerSpan
impl Debug for IntegerSpan
Source§impl PartialEq for IntegerSpan
impl PartialEq for IntegerSpan
impl Eq for IntegerSpan
impl StructuralPartialEq for IntegerSpan
Auto Trait Implementations§
impl Freeze for IntegerSpan
impl RefUnwindSafe for IntegerSpan
impl Send for IntegerSpan
impl Sync for IntegerSpan
impl Unpin for IntegerSpan
impl UnwindSafe for IntegerSpan
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