Trait freya_native_core::prelude::Dependancy

source ·
pub trait Dependancy {
    type ElementBorrowed<'a>;

    // Provided method
    fn type_ids() -> Box<[TypeId]> { ... }
}
Expand description

A trait that is implemented for all the dependancies of a State

Required Associated Types§

source

type ElementBorrowed<'a>

A tuple with all the elements of the dependancy as DependancyView

Provided Methods§

source

fn type_ids() -> Box<[TypeId]>

Returns a list of all the TypeIds of the elements in the dependancy

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Dependancy for ()

source§

impl<A: Send + Sync + Component> Dependancy for (A,)

source§

impl<A: Send + Sync + Component, B: Send + Sync + Component> Dependancy for (A, B)

source§

impl<A: Send + Sync + Component, B: Send + Sync + Component, C: Send + Sync + Component> Dependancy for (A, B, C)

source§

impl<A: Send + Sync + Component, B: Send + Sync + Component, C: Send + Sync + Component, D: Send + Sync + Component> Dependancy for (A, B, C, D)

source§

impl<A: Send + Sync + Component, B: Send + Sync + Component, C: Send + Sync + Component, D: Send + Sync + Component, E: Send + Sync + Component> Dependancy for (A, B, C, D, E)

source§

impl<A: Send + Sync + Component, B: Send + Sync + Component, C: Send + Sync + Component, D: Send + Sync + Component, E: Send + Sync + Component, F: Send + Sync + Component> Dependancy for (A, B, C, D, E, F)

source§

impl<A: Send + Sync + Component, B: Send + Sync + Component, C: Send + Sync + Component, D: Send + Sync + Component, E: Send + Sync + Component, F: Send + Sync + Component, G: Send + Sync + Component> Dependancy for (A, B, C, D, E, F, G)

source§

impl<A: Send + Sync + Component, B: Send + Sync + Component, C: Send + Sync + Component, D: Send + Sync + Component, E: Send + Sync + Component, F: Send + Sync + Component, G: Send + Sync + Component, H: Send + Sync + Component> Dependancy for (A, B, C, D, E, F, G, H)

source§

impl<A: Send + Sync + Component, B: Send + Sync + Component, C: Send + Sync + Component, D: Send + Sync + Component, E: Send + Sync + Component, F: Send + Sync + Component, G: Send + Sync + Component, H: Send + Sync + Component, I: Send + Sync + Component> Dependancy for (A, B, C, D, E, F, G, H, I)

source§

impl<A: Send + Sync + Component, B: Send + Sync + Component, C: Send + Sync + Component, D: Send + Sync + Component, E: Send + Sync + Component, F: Send + Sync + Component, G: Send + Sync + Component, H: Send + Sync + Component, I: Send + Sync + Component, J: Send + Sync + Component> Dependancy for (A, B, C, D, E, F, G, H, I, J)

Implementors§