AsStoreMut

Trait AsStoreMut 

Source
pub(crate) trait AsStoreMut: AsStoreRef {
    // Required methods
    fn as_store_mut(&mut self) -> StoreMut<'_>;
    fn objects_mut(&mut self) -> &mut StoreObjects;
}
Expand description

Helper trait for a value that is convertible to a StoreMut.

Required Methods§

Source

fn as_store_mut(&mut self) -> StoreMut<'_>

Returns a StoreMut pointing to the underlying context.

Source

fn objects_mut(&mut self) -> &mut StoreObjects

Returns the ObjectMutable

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.

Implementors§