pub trait StateSyncMutableRemoveGet: State {
// Required method
fn remove_get<T>(&mut self) -> Option<T>
where T: 'static + Send + Sync;
}Expand description
Remove data and return it (sync mutable version)
Required Methods§
Sourcefn remove_get<T>(&mut self) -> Option<T>
fn remove_get<T>(&mut self) -> Option<T>
Removes and returns data of type T
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.