[][src]Struct akashi::ecs::component_store::ComponentAdapter

pub struct ComponentAdapter<E, F, T, W> where
    E: Entity + 'static,
    F: Into<T> + Component<E> + 'static,
    T: Into<F> + Component<E> + 'static,
    W: ComponentBackend<E, F> + Sync + Send
{ /* fields omitted */ }

Methods

impl<E, F, T, W> ComponentAdapter<E, F, T, W> where
    E: Entity + 'static,
    F: Into<T> + Component<E> + 'static,
    T: Into<F> + Component<E> + 'static,
    W: ComponentBackend<E, F> + Sync + Send
[src]

pub fn new(wrapped: W) -> ComponentAdapter<E, F, T, W>[src]

Trait Implementations

impl<E, F, T, W> ComponentBackend<E, T> for ComponentAdapter<E, F, T, W> where
    E: Entity + 'static,
    F: Into<T> + Component<E> + 'static,
    T: Into<F> + Component<E> + 'static,
    W: ComponentBackend<E, F> + Sync + Send
[src]

impl<E, F, T, W> Send for ComponentAdapter<E, F, T, W> where
    E: Entity + 'static,
    F: Into<T> + Component<E> + 'static,
    T: Into<F> + Component<E> + 'static,
    W: ComponentBackend<E, F> + Sync + Send
[src]

impl<E, F, T, W> Sync for ComponentAdapter<E, F, T, W> where
    E: Entity + 'static,
    F: Into<T> + Component<E> + 'static,
    T: Into<F> + Component<E> + 'static,
    W: ComponentBackend<E, F> + Sync + Send
[src]

Auto Trait Implementations

impl<E, F, T, W> RefUnwindSafe for ComponentAdapter<E, F, T, W> where
    E: RefUnwindSafe,
    F: RefUnwindSafe,
    T: RefUnwindSafe,
    W: RefUnwindSafe

impl<E, F, T, W> Unpin for ComponentAdapter<E, F, T, W> where
    W: Unpin

impl<E, F, T, W> UnwindSafe for ComponentAdapter<E, F, T, W> where
    E: RefUnwindSafe,
    F: RefUnwindSafe,
    T: RefUnwindSafe,
    W: 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.