Trait rin::ecs::operators::FromComponent[][src]

pub trait FromComponent<'a, T> {
    pub fn from_component(component: T) -> Self;
}

Required methods

pub fn from_component(component: T) -> Self[src]

Loading content...

Implementors

impl<'_, T1, T2> FromComponent<'_, (<T1 as Bools>::B, <T2 as Bools>::B)> for HasOr<(T1, T2)>[src]

impl<'_, T1, T2, T3> FromComponent<'_, (<T1 as Bools>::B, <T2 as Bools>::B, <T3 as Bools>::B)> for HasOr<(T1, T2, T3)>[src]

impl<'_, T1, T2, T3, T4> FromComponent<'_, (<T1 as Bools>::B, <T2 as Bools>::B, <T3 as Bools>::B, <T4 as Bools>::B)> for HasOr<(T1, T2, T3, T4)>[src]

impl<'_, T1, T2, T3, T4, T5> FromComponent<'_, (<T1 as Bools>::B, <T2 as Bools>::B, <T3 as Bools>::B, <T4 as Bools>::B, <T5 as Bools>::B)> for HasOr<(T1, T2, T3, T4, T5)>[src]

impl<'_, T1, T2, T3, T4, T5, T6> FromComponent<'_, (<T1 as Bools>::B, <T2 as Bools>::B, <T3 as Bools>::B, <T4 as Bools>::B, <T5 as Bools>::B, <T6 as Bools>::B)> for HasOr<(T1, T2, T3, T4, T5, T6)>[src]

impl<'_, T1, T2, T3, T4, T5, T6, T7> FromComponent<'_, (<T1 as Bools>::B, <T2 as Bools>::B, <T3 as Bools>::B, <T4 as Bools>::B, <T5 as Bools>::B, <T6 as Bools>::B, <T7 as Bools>::B)> for HasOr<(T1, T2, T3, T4, T5, T6, T7)>[src]

impl<'_, T1, T2, T3, T4, T5, T6, T7, T8> FromComponent<'_, (<T1 as Bools>::B, <T2 as Bools>::B, <T3 as Bools>::B, <T4 as Bools>::B, <T5 as Bools>::B, <T6 as Bools>::B, <T7 as Bools>::B, <T8 as Bools>::B)> for HasOr<(T1, T2, T3, T4, T5, T6, T7, T8)>[src]

impl<'_, T> FromComponent<'_, ()> for Has<T>[src]

impl<'a> FromComponent<'a, EntityWithPath<'a>> for EntityWithPath<'a>[src]

impl<'a> FromComponent<'a, EntityWithPathMut<'a>> for EntityWithPathMut<'a>[src]

impl<'a> FromComponent<'a, EntityWithReynoldsPath<'a>> for EntityWithReynoldsPath<'a>[src]

impl<'a> FromComponent<'a, Entity> for Entity[src]

impl<'a, T> FromComponent<'a, <<T as Component>::Storage as Storage<'a, T>>::Get> for Read<'a, T> where
    T: Component,
    <T as Component>::Storage: for<'s> Storage<'s, T>, 
[src]

impl<'a, T> FromComponent<'a, <<T as Component>::Storage as Storage<'a, T>>::GetMut> for Write<'a, T> where
    T: Component,
    <T as Component>::Storage: for<'s> Storage<'s, T>, 
[src]

impl<'a, T> FromComponent<'a, <T as TupleAny<'a>>::AnyTarget> for ReadOr<'a, T> where
    T: TupleAny<'a>, 
[src]

impl<'a, T> FromComponent<'a, Option<<<T as Component>::Storage as Storage<'a, T>>::Get>> for ReadOption<'a, T> where
    T: Component,
    <T as Component>::Storage: for<'s> Storage<'s, T>, 
[src]

impl<'a, T> FromComponent<'a, Option<&'a mut T>> for WriteOption<'a, T> where
    T: Component
[src]

impl<'a, T> FromComponent<'a, bool> for HasOption<T> where
    T: 'static, 
[src]

impl<'a, T> FromComponent<'a, ()> for Not<'a, T> where
    T: 'static, 
[src]

impl<'a, T, Not> FromComponent<'a, <<T as Component>::Storage as Storage<'a, T>>::Get> for ReadNot<'a, T, Not> where
    Not: 'static,
    T: Component,
    <T as Component>::Storage: for<'s> Storage<'s, T>, 
[src]

impl<'a, T, R> FromComponent<'a, <R as UnorderedData<'a>>::ComponentsRef> for Ref<'a, T, R> where
    T: NToOneComponent<'a>,
    R: UnorderedData<'a> + FromComponent<'a, <R as UnorderedData<'a>>::ComponentsRef>, 
[src]

impl<'a, T, R> FromComponent<'a, <R as UnorderedData<'a>>::ComponentsRef> for URef<'a, T, R> where
    T: OneToOneComponent<'a>,
    R: UnorderedData<'a> + FromComponent<'a, <R as UnorderedData<'a>>::ComponentsRef>, 
[src]

impl<'a, T, R> FromComponent<'a, RefCollection<'a, T, <R as UnorderedData<'a>>::ComponentsRef>> for RefN<'a, T, R> where
    R: UnorderedData<'a>, 
[src]

Loading content...