Struct virtual_fs::mem_fs::file::ReadOnlyFile
source · pub(super) struct ReadOnlyFile {
buffer: Cow<'static, [u8]>,
}
Expand description
Read only file that uses copy-on-write
Fields§
§buffer: Cow<'static, [u8]>
Implementations§
source§impl ReadOnlyFile
impl ReadOnlyFile
source§impl ReadOnlyFile
impl ReadOnlyFile
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReadOnlyFile
impl RefUnwindSafe for ReadOnlyFile
impl Send for ReadOnlyFile
impl Sync for ReadOnlyFile
impl Unpin for ReadOnlyFile
impl UnwindSafe for ReadOnlyFile
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