Skip to main content

IDisallowMultipleComponentMethods

Trait IDisallowMultipleComponentMethods 

Source
pub trait IDisallowMultipleComponentMethods: IDisallowMultipleComponent {
    // Provided method
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

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§

Source§

impl<__T: IDisallowMultipleComponent> IDisallowMultipleComponentMethods for __T

Available on crate feature unity_engine-disallowmultiplecomponent only.