pub trait GetEntity {
// Required method
fn entity(&self) -> &Rc<Entity>;
}Expand description
The GetEntity trait is used to provide access to an objects Entity
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".