pub struct AnyMap(/* private fields */);
Expand description
A map that holds data of any type.
Implementations§
source§impl AnyMap
impl AnyMap
sourcepub fn get_mut<T>(&mut self) -> Option<&mut T>
pub fn get_mut<T>(&mut self) -> Option<&mut T>
Returns a mutable reference of a value of type T
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AnyMap
impl !RefUnwindSafe for AnyMap
impl Send for AnyMap
impl Sync for AnyMap
impl Unpin for AnyMap
impl !UnwindSafe for AnyMap
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)