Crate gear_objects
source ·Macros§
- Use this to add an object along with its associated traits to a component. Note that repeated traits are listed in a second optional list.
- Returns an iterator over a trait that may be implemented by multiple objects within the component.
- Returns an optional reference to a trait for an object within the component.
- Use this for all trait and object types used within components.
Structs§
- The unit of composition for the gear object model. A component consists of one or more objects. Each object implements one or more traits. Component clients are only allowed to interact with objects via their traits. Note that publicly released traits should be treated as immutable to foster backward compatibility.
- Used to identify components.