Struct symbolic_debuginfo::FileEntry[][src]

pub struct FileEntry<'data> {
    pub compilation_dir: &'data [u8],
    pub info: FileInfo<'data>,
}

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

impl<'data> FileEntry<'data>[src]

pub fn compilation_dir_str(&self) -> Cow<'data, str>[src]

Path to the compilation directory.

pub fn abs_path_str(&self) -> String[src]

Absolute path to the file, including the compilation directory.

Methods from Deref<Target = FileInfo<'data>>

pub fn name_str(&self) -> Cow<'data, str>[src]

The file name as UTF-8 string.

pub fn dir_str(&self) -> Cow<'data, str>[src]

Path to the file relative to the compilation directory.

pub fn path_str(&self) -> String[src]

The full path to the file, relative to the compilation directory.

Trait Implementations

impl Debug for FileEntry<'_>[src]

impl<'data> Deref for FileEntry<'data>[src]

type Target = FileInfo<'data>

The resulting type after dereferencing.

Auto Trait Implementations

impl<'data> RefUnwindSafe for FileEntry<'data>

impl<'data> Send for FileEntry<'data>

impl<'data> Sync for FileEntry<'data>

impl<'data> Unpin for FileEntry<'data>

impl<'data> UnwindSafe for FileEntry<'data>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.