Skip to main content

ContainsMapMut

Trait ContainsMapMut 

Source
pub trait ContainsMapMut {
    // Required method
    fn get_map(&mut self) -> &mut Map<dyn Any + Send>;
}
Expand description

A state that exposes an anymap by mutable reference.

Required Methods§

Source

fn get_map(&mut self) -> &mut Map<dyn Any + Send>

Get the anymap by mutable reference.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<S: ContainsMapMut> ContainsMapMut for ManuallyDrop<S>

Source§

fn get_map(&mut self) -> &mut Map<dyn Any + Send>

Implementors§