pub struct MistyResourceManager { /* private fields */ }Implementations§
Source§impl MistyResourceManager
impl MistyResourceManager
pub fn new() -> Self
pub fn get_handle(&self, id: MistyResourceId) -> Option<MistyResourceHandle>
pub fn insert(&self, buf: impl Into<Vec<u8>> + 'static) -> MistyResourceHandle
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MistyResourceManager
impl RefUnwindSafe for MistyResourceManager
impl Send for MistyResourceManager
impl Sync for MistyResourceManager
impl Unpin for MistyResourceManager
impl UnwindSafe for MistyResourceManager
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