define_entity

Macro define_entity 

Source
macro_rules! define_entity {
    ($entity_name:ident) => { ... };
}
Expand description

Defines a zero-sized struct with the right derived traits and implements the Entity trait. If you already have a type defined (struct, enum, etc.), you can use the impl_entity! macro instead.