Struct oxygengine::prelude::MapFetchEngine
source · pub struct MapFetchEngine {
pub map: HashMap<String, Vec<u8, Global>, RandomState>,
}
Fields§
§map: HashMap<String, Vec<u8, Global>, RandomState>
Implementations§
source§impl MapFetchEngine
impl MapFetchEngine
pub fn new(map: HashMap<String, Vec<u8, Global>, RandomState>) -> MapFetchEngine
Trait Implementations§
source§impl Clone for MapFetchEngine
impl Clone for MapFetchEngine
source§fn clone(&self) -> MapFetchEngine
fn clone(&self) -> MapFetchEngine
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for MapFetchEngine
impl Default for MapFetchEngine
source§fn default() -> MapFetchEngine
fn default() -> MapFetchEngine
Returns the “default value” for a type. Read more
source§impl FetchEngine for MapFetchEngine
impl FetchEngine for MapFetchEngine
fn fetch( &mut self, path: &str ) -> Result<Box<FetchProcess, Global>, FetchStatus>
fn cancel(&mut self, reader: FetchProcess)
Auto Trait Implementations§
impl RefUnwindSafe for MapFetchEngine
impl Send for MapFetchEngine
impl Sync for MapFetchEngine
impl Unpin for MapFetchEngine
impl UnwindSafe for MapFetchEngine
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
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more