[−][src]Struct language_reporting::SimpleReportingFiles
Methods
impl SimpleReportingFiles
[src]
Trait Implementations
impl ReportingFiles for SimpleReportingFiles
[src]
type Span = SimpleSpan
type FileId = usize
fn file_id(&self, span: SimpleSpan) -> usize
[src]
fn file_name(&self, id: usize) -> FileName
[src]
fn byte_span(
&self,
_file: usize,
_from_index: usize,
_to_index: usize
) -> Option<Self::Span>
[src]
&self,
_file: usize,
_from_index: usize,
_to_index: usize
) -> Option<Self::Span>
fn byte_index(&self, file: usize, line: usize, column: usize) -> Option<usize>
[src]
fn location(&self, file: usize, index: usize) -> Option<Location>
[src]
fn line_span(&self, file: usize, line: usize) -> Option<Self::Span>
[src]
fn source(&self, span: SimpleSpan) -> Option<String>
[src]
impl Clone for SimpleReportingFiles
[src]
fn clone(&self) -> SimpleReportingFiles
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for SimpleReportingFiles
[src]
fn default() -> SimpleReportingFiles
[src]
impl Debug for SimpleReportingFiles
[src]
Auto Trait Implementations
impl Send for SimpleReportingFiles
impl Sync for SimpleReportingFiles
impl Unpin for SimpleReportingFiles
impl UnwindSafe for SimpleReportingFiles
impl RefUnwindSafe for SimpleReportingFiles
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,