pub trait IRequireComponentMethods: IRequireComponent {
// Provided methods
fn ctor(self, required_component: impl Into<SystemType>) { ... }
fn ctor_2(
self,
required_component: impl Into<SystemType>,
required_component2: impl Into<SystemType>,
) { ... }
}Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IRequireComponent> IRequireComponentMethods for __T
Available on crate feature
unity_engine-requirecomponent only.