pub struct INST_STORE { /* private fields */ }Methods from Deref<Target = InstanceStore>§
pub fn add(&self, boxable: impl BoxableInstance) -> Option<String>
pub fn get<T: BoxableInstance>(&self, id: &str) -> Option<Arc<T>>
pub fn get_with_optional_id<T: BoxableInstance>( &self, id: Option<&String>, ) -> Option<Arc<T>>
pub fn remove(&self, id: &str) -> Option<BoxedInstance>
pub fn remove_all(&self)
Trait Implementations§
Source§impl Deref for INST_STORE
impl Deref for INST_STORE
Source§type Target = InstanceStore
type Target = InstanceStore
The resulting type after dereferencing.
Source§fn deref(&self) -> &InstanceStore
fn deref(&self) -> &InstanceStore
Dereferences the value.
impl LazyStatic for INST_STORE
Auto Trait Implementations§
impl Freeze for INST_STORE
impl RefUnwindSafe for INST_STORE
impl Send for INST_STORE
impl Sync for INST_STORE
impl Unpin for INST_STORE
impl UnwindSafe for INST_STORE
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