pub trait AsComponent {
    fn as_component(&self) -> Component;
}
Expand description

This trait allows you to convert an object into a component by passing it as reference

Required Methods

Converts this object reference to a component

Implementors