pub struct SourceMapLine(pub u32);
Expand description
Zero-based line number
Tuple Fields§
§0: u32
Trait Implementations§
Source§impl Clone for SourceMapLine
impl Clone for SourceMapLine
Source§fn clone(&self) -> SourceMapLine
fn clone(&self) -> SourceMapLine
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 SourceMapLine
impl Debug for SourceMapLine
Source§impl Ord for SourceMapLine
impl Ord for SourceMapLine
Source§fn cmp(&self, other: &SourceMapLine) -> Ordering
fn cmp(&self, other: &SourceMapLine) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SourceMapLine
impl PartialEq for SourceMapLine
Source§impl PartialOrd for SourceMapLine
impl PartialOrd for SourceMapLine
impl Copy for SourceMapLine
impl Eq for SourceMapLine
impl StructuralPartialEq for SourceMapLine
Auto Trait Implementations§
impl Freeze for SourceMapLine
impl RefUnwindSafe for SourceMapLine
impl Send for SourceMapLine
impl Sync for SourceMapLine
impl Unpin for SourceMapLine
impl UnwindSafe for SourceMapLine
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