pub struct SourceMapEdit { /* private fields */ }Implementations§
Source§impl SourceMapEdit
impl SourceMapEdit
pub const fn new( source_start: u32, source_end: u32, display_start: u32, display_end: u32, ) -> Self
pub const fn source_start(self) -> u32
pub const fn source_end(self) -> u32
pub const fn display_start(self) -> u32
pub const fn display_end(self) -> u32
pub const fn delta_after(self) -> i64
Trait Implementations§
Source§impl Clone for SourceMapEdit
impl Clone for SourceMapEdit
Source§fn clone(&self) -> SourceMapEdit
fn clone(&self) -> SourceMapEdit
Returns a duplicate 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 SourceMapEdit
impl Debug for SourceMapEdit
Source§impl PartialEq for SourceMapEdit
impl PartialEq for SourceMapEdit
impl Copy for SourceMapEdit
impl Eq for SourceMapEdit
impl StructuralPartialEq for SourceMapEdit
Auto Trait Implementations§
impl Freeze for SourceMapEdit
impl RefUnwindSafe for SourceMapEdit
impl Send for SourceMapEdit
impl Sync for SourceMapEdit
impl Unpin for SourceMapEdit
impl UnsafeUnpin for SourceMapEdit
impl UnwindSafe for SourceMapEdit
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