Struct virtual_fs::mem_fs::file::File
source · pub(super) struct File {
buffer: TrackedVec,
}
Expand description
The real file! It is simply a buffer of bytes with a cursor that represents a read/write position in the buffer.
Fields§
§buffer: TrackedVec
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnwindSafe for File
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