[−][src]Struct symbolic::debuginfo::FileInfo
File information referred by LineInfo
comprising a directory and name.
The file path is usually relative to a compilation directory. It might contain parent directory
segments (../
).
Fields
name: &'data [u8]
The file's basename.
dir: &'data [u8]
Path to the file.
Implementations
impl<'data> FileInfo<'data>
[src]
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<'data> Clone for FileInfo<'data>
[src]
impl<'_> Debug for FileInfo<'_>
[src]
impl<'data> Default for FileInfo<'data>
[src]
impl<'data> Eq for FileInfo<'data>
[src]
impl<'data> PartialEq<FileInfo<'data>> for FileInfo<'data>
[src]
fn eq(&self, other: &FileInfo<'data>) -> bool
[src]
fn ne(&self, other: &FileInfo<'data>) -> bool
[src]
impl<'data> StructuralEq for FileInfo<'data>
[src]
impl<'data> StructuralPartialEq for FileInfo<'data>
[src]
Auto Trait Implementations
impl<'data> RefUnwindSafe for FileInfo<'data>
impl<'data> Send for FileInfo<'data>
impl<'data> Sync for FileInfo<'data>
impl<'data> Unpin for FileInfo<'data>
impl<'data> UnwindSafe for FileInfo<'data>
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> 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>,