pub struct PackAsset(/* private fields */);
Implementations§
Source§impl PackAsset
impl PackAsset
pub fn get_asset_data(&self, path: &str) -> Option<&[u8]>
pub fn make_fetch_engine(&self) -> MapFetchEngine
Auto Trait Implementations§
impl Freeze for PackAsset
impl RefUnwindSafe for PackAsset
impl Send for PackAsset
impl Sync for PackAsset
impl Unpin for PackAsset
impl UnwindSafe for PackAsset
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