pub struct FileEntry {
pub contents: Vec<u8>,
pub path: PathBuf,
pub is_dir: bool,
}Expand description
A file entry in the in-memory file system
Fields§
§contents: Vec<u8>The file contents as bytes
path: PathBufThe file path relative to the quill root
is_dir: boolWhether this is a directory entry
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileEntry
impl RefUnwindSafe for FileEntry
impl Send for FileEntry
impl Sync for FileEntry
impl Unpin 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