pub struct SimpleReportingFiles { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Clone for SimpleReportingFiles
impl Clone for SimpleReportingFiles
Source§fn clone(&self) -> SimpleReportingFiles
fn clone(&self) -> SimpleReportingFiles
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 SimpleReportingFiles
impl Debug for SimpleReportingFiles
Source§impl Default for SimpleReportingFiles
impl Default for SimpleReportingFiles
Source§fn default() -> SimpleReportingFiles
fn default() -> SimpleReportingFiles
Returns the “default value” for a type. Read more
Source§impl ReportingFiles for SimpleReportingFiles
impl ReportingFiles for SimpleReportingFiles
type Span = SimpleSpan
type FileId = usize
fn file_id(&self, span: SimpleSpan) -> usize
fn file_name(&self, id: usize) -> FileName
fn byte_span( &self, _file: usize, _from_index: usize, _to_index: usize, ) -> Option<Self::Span>
fn byte_index(&self, file: usize, line: usize, column: usize) -> Option<usize>
fn location(&self, file: usize, index: usize) -> Option<Location>
fn line_span(&self, file: usize, line: usize) -> Option<Self::Span>
fn source(&self, span: SimpleSpan) -> Option<String>
Auto Trait Implementations§
impl Freeze for SimpleReportingFiles
impl RefUnwindSafe for SimpleReportingFiles
impl Send for SimpleReportingFiles
impl Sync for SimpleReportingFiles
impl Unpin for SimpleReportingFiles
impl UnwindSafe for SimpleReportingFiles
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)