[][src]Trait nano_ecs::Ind

pub trait Ind<T> {
    fn ind() -> u8;
}

The index of a component type T from Component.

This is used to store the components in the declared order.

Required methods

fn ind() -> u8

Returns the component index.

Loading content...

Implementors

Loading content...