pub struct FileInfo {
pub path: String,
pub entry_type: VFSEntryType,
pub spans: Vec<FileSpan>,
pub inline_data: Option<(u64, u32)>,
}
Expand description
File information
Fields§
§path: String
File path
entry_type: VFSEntryType
Entry type
spans: Vec<FileSpan>
File spans (for regular files)
inline_data: Option<(u64, u32)>
Inline data location (offset, size) for inline entries
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileInfo
impl RefUnwindSafe for FileInfo
impl Send for FileInfo
impl Sync for FileInfo
impl Unpin for FileInfo
impl UnwindSafe for FileInfo
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