[−][src]Struct syn_inline_mod::InlineError
An error that happened while attempting to inline a module.
Implementations
impl InlineError[src]
pub fn src_path(&self) -> &Path[src]
Returns the source path where the error originated.
The file at this path parsed correctly, but it caused the file at self.path() to be read.
pub fn module_name(&self) -> &str[src]
Returns the name of the module that was attempted to be inlined.
pub fn src_span(&self) -> Span[src]
Returns the Span (including line and column information) in the source path that caused
self.path() to be included.
pub fn path(&self) -> &Path[src]
Returns the path where the error happened.
Reading and parsing this file failed for the reason listed in self.kind().
pub fn kind(&self) -> &Error[src]
Returns the reason for this error happening.
Trait Implementations
impl Debug for InlineError[src]
impl Display for InlineError[src]
Auto Trait Implementations
impl !RefUnwindSafe for InlineError
impl !Send for InlineError
impl !Sync for InlineError
impl Unpin for InlineError
impl !UnwindSafe for InlineError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
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> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
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>,