Skip to main content

IObjectPool_1_2Methods

Trait IObjectPool_1_2Methods 

Source
pub trait IObjectPool_1_2Methods<T0: ClassIdentity>: ClassIdentity {
    // Provided methods
    fn get_count_all(self) -> i32
       where Self: Sized { ... }
    fn set_count_all(self, value: i32)
       where Self: Sized { ... }
    fn get_count_active(self) -> i32
       where Self: Sized { ... }
    fn get_count_inactive(self) -> i32
       where Self: Sized { ... }
    fn ctor(
        self,
        action_on_get: UnityAction_1<T0>,
        action_on_release: UnityAction_1<T0>,
        collection_check: bool,
    )
       where Self: Sized { ... }
    fn get(self) -> T0
       where Self: Sized { ... }
    fn get_2(self) -> (ObjectPool_1_PooledObject<T0>, T0)
       where Self: Sized { ... }
    fn release(self, element: T0)
       where Self: Sized { ... }
}

Provided Methods§

Source

fn get_count_all(self) -> i32
where Self: Sized,

Source

fn set_count_all(self, value: i32)
where Self: Sized,

Source

fn get_count_active(self) -> i32
where Self: Sized,

Source

fn get_count_inactive(self) -> i32
where Self: Sized,

Source

fn ctor( self, action_on_get: UnityAction_1<T0>, action_on_release: UnityAction_1<T0>, collection_check: bool, )
where Self: Sized,

Source

fn get(self) -> T0
where Self: Sized,

Source

fn get_2(self) -> (ObjectPool_1_PooledObject<T0>, T0)
where Self: Sized,

Source

fn release(self, element: T0)
where Self: Sized,

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§