Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

repox::Entity Derive Attributes

Introduction

repox::Entity is both a trait and a derive macro for the repox framework. The Entity trait itself is very simple, requiring only an id method that returns the entity’s unique identifier. However, the Entity derive macro provides tags which implement additional functionality for the entity.