pub struct FileEntry {
pub directory: Vec<u8>,
pub basename: Vec<u8>,
}Expand description
A source file split into directory and basename, as GSYM stores it.
Neither half is required to be valid UTF-8, and neither is normalized: what the producer wrote is what a reader gets back.
GsymBuilder::add_file interns entries and
returns the FileIndex that line rows and inline nodes refer to.
Fields§
§directory: Vec<u8>Directory component as raw string-table bytes.
basename: Vec<u8>Basename component as raw string-table bytes.
Implementations§
Trait Implementations§
impl Eq for FileEntry
impl StructuralPartialEq for FileEntry
Auto Trait Implementations§
impl Freeze for FileEntry
impl RefUnwindSafe for FileEntry
impl Send for FileEntry
impl Sync for FileEntry
impl Unpin for FileEntry
impl UnsafeUnpin for FileEntry
impl UnwindSafe for FileEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more