Skip to main content

IDelegateList_1Methods

Trait IDelegateList_1Methods 

Source
pub trait IDelegateList_1Methods<T0: ClassIdentity>: ClassIdentity {
    // Provided methods
    fn ctor(
        self,
        acquire_func: Func_2<Action_1<T0>, LinkedListNode_1<Action_1<T0>>>,
        release_func: Action_1<LinkedListNode_1<Action_1<T0>>>,
    )
       where Self: Sized { ... }
    fn get_count(self) -> i32
       where Self: Sized { ... }
    fn add(self, action: Action_1<T0>)
       where Self: Sized { ... }
    fn remove(self, action: Action_1<T0>)
       where Self: Sized { ... }
    fn invoke(self, res: T0)
       where Self: Sized { ... }
    fn clear(self)
       where Self: Sized { ... }
    fn create_with_global_cache() -> DelegateList_1<T0> { ... }
}

Provided Methods§

Source

fn ctor( self, acquire_func: Func_2<Action_1<T0>, LinkedListNode_1<Action_1<T0>>>, release_func: Action_1<LinkedListNode_1<Action_1<T0>>>, )
where Self: Sized,

Source

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

Source

fn add(self, action: Action_1<T0>)
where Self: Sized,

Source

fn remove(self, action: Action_1<T0>)
where Self: Sized,

Source

fn invoke(self, res: T0)
where Self: Sized,

Source

fn clear(self)
where Self: Sized,

Source

fn create_with_global_cache() -> DelegateList_1<T0>

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§