Struct symbolic::debuginfo::FileEntry [−][src]
Expand description
File information comprising a compilation directory, relative path and name.
Fields
compilation_dir: &'data [u8]
Path to the compilation directory. File paths are relative to this.
info: FileInfo<'data>
File name and path.
Implementations
Path to the compilation directory.
Absolute path to the file, including the compilation directory.
Methods from Deref<Target = FileInfo<'data>>
Path to the file relative to the compilation directory.
Trait Implementations
Auto Trait Implementations
impl<'data> RefUnwindSafe for FileEntry<'data>
impl<'data> UnwindSafe for FileEntry<'data>
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
pub fn extract_context(self, _original_input: I)
pub fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original input to the nom parser, extract more the useful context information. Read more
pub fn recreate_context(_original_input: I, tail: I) -> I
pub fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom, recreate a context in the original string where the error occurred. Read more