[][src]Struct akashi::local_storage::LocalComponentStorage

pub struct LocalComponentStorage<T, U> where
    T: Entity + 'static,
    U: Component<T> + Clone + 'static, 
{ /* fields omitted */ }

In-memory Component storage backend.

This is mainly meant for use in testing and for prototyping. It has no provisions for storing data to a persistent medium.

Methods

impl<T, U> LocalComponentStorage<T, U> where
    T: Entity + 'static,
    U: Component<T> + Clone + 'static, 
[src]

Trait Implementations

impl<T, U> ComponentBackend<T, U> for LocalComponentStorage<T, U> where
    T: Entity + 'static,
    U: Component<T> + Clone + 'static, 
[src]

Auto Trait Implementations

impl<T, U> RefUnwindSafe for LocalComponentStorage<T, U> where
    T: RefUnwindSafe

impl<T, U> Send for LocalComponentStorage<T, U> where
    T: Send,
    U: Send

impl<T, U> Sync for LocalComponentStorage<T, U> where
    T: Sync,
    U: Send + Sync

impl<T, U> Unpin for LocalComponentStorage<T, U> where
    T: Unpin,
    U: Unpin

impl<T, U> UnwindSafe for LocalComponentStorage<T, U> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.