Trait rinecs::operators::FromComponent[][src]

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

Required methods

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

Loading content...

Implementors

impl<'a> FromComponent<'a, Entity> for Entity[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: 'static> FromComponent<'a, bool> for HasOption<T>[src]

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

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

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

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

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

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

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

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

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]

Loading content...