Trait qecs_core::StoreBase [] [src]

pub trait StoreBase: ServiceBase {
    type Id: Id;
    fn len(&self) -> usize;
    fn is_assigned<'id>(&self, id: Valid<'id, Self::Id>) -> bool;
    fn release_drop<'id>(&mut self, id: Valid<'id, Self::Id>) -> bool;
    fn clear(&mut self);
}

Associated Types

Required Methods

A variant of .release(id) which drops the returned component. Returns true if sucessful.

Methods

impl<ID: Id> StoreBase<Id = ID>
[src]

Trait Implementations

impl<ID: Id, T: StoreBase<Id = ID>> Downcast<T> for StoreBase<Id = ID>
[src]

Implementors