pub trait IDefaultAllocationStrategyMethods: IDefaultAllocationStrategy {
// Provided methods
fn new(
self,
type: impl Into<SystemType>,
type_hash: impl Into<i32>,
) -> Object { ... }
fn release(self, type_hash: impl Into<i32>, obj: impl Into<Object>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn new(self, type: impl Into<SystemType>, type_hash: impl Into<i32>) -> Object
fn new(self, type: impl Into<SystemType>, type_hash: impl Into<i32>) -> Object
New(::unity::SystemType, i32) 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§
impl<__T: IDefaultAllocationStrategy> IDefaultAllocationStrategyMethods for __T
Available on crate feature
unity_engine-resource_management-util-defaultallocationstrategy only.