Module former::prelude

source ·
Expand description

Prelude to use essentials: use my_module::prelude::*.

Traits§

  • The AssignWithType trait provides a mechanism to set a component on an object, utilizing the type information explicitly. This trait extends the functionality of SetComponent by allowing implementers to specify the component’s type at the method call site, enhancing expressiveness in code that manipulates object states.
  • Provides a generic interface for setting a component of a certain type on an object.