Struct dacquiri::prelude::ConstraintStore
source · [−]pub struct ConstraintStore { /* private fields */ }
Trait Implementations
sourceimpl ConstraintT for ConstraintStore
impl ConstraintT for ConstraintStore
fn add_entity<T, const ETAG: &'static str>(
self,
entity: T
) -> ConstraintResult<EntityProof<ETAG, T, Self>> where
T: ConstraintEntity + 'static,
fn get_entity<T, const TAG: &'static str>(&self) -> &T where
T: ConstraintEntity + 'static,
Self: HasEntityWithType<TAG, T>,
fn get_entity_mut<T, const TAG: &'static str>(&mut self) -> &mut T where
T: ConstraintEntity + 'static,
Self: HasEntityWithType<TAG, T>,
Auto Trait Implementations
impl !RefUnwindSafe for ConstraintStore
impl Send for ConstraintStore
impl Sync for ConstraintStore
impl Unpin for ConstraintStore
impl !UnwindSafe for ConstraintStore
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more