Struct debris_common::file_provider::MemoryFileProvider
source · pub struct MemoryFileProvider {
files: FxHashMap<Box<str>, Box<str>>,
}
Expand description
A FileProvider
implementation that has an in-memory pool of files
Fields§
§files: FxHashMap<Box<str>, Box<str>>
Implementations§
Trait Implementations§
source§impl Debug for MemoryFileProvider
impl Debug for MemoryFileProvider
source§impl Default for MemoryFileProvider
impl Default for MemoryFileProvider
source§fn default() -> MemoryFileProvider
fn default() -> MemoryFileProvider
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for MemoryFileProvider
impl Send for MemoryFileProvider
impl Sync for MemoryFileProvider
impl Unpin for MemoryFileProvider
impl UnwindSafe for MemoryFileProvider
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