Skip to main content

IDelegateProxyFactory_2Methods

Trait IDelegateProxyFactory_2Methods 

Source
pub trait IDelegateProxyFactory_2Methods<T0: ClassIdentity, T1: ClassIdentity>: ClassIdentity {
    // Provided methods
    fn ctor(self, wrap_delegate: Func_2<T1, T0>)
       where Self: Sized { ... }
    fn create_proxy_object(self, target: T1) -> T0
       where Self: Sized { ... }
    fn create_proxy_object_2(self, o: Object) -> Object
       where Self: Sized { ... }
    fn get_target_type(self) -> SystemType
       where Self: Sized { ... }
    fn get_proxy_type(self) -> SystemType
       where Self: Sized { ... }
}

Provided Methods§

Source

fn ctor(self, wrap_delegate: Func_2<T1, T0>)
where Self: Sized,

Source

fn create_proxy_object(self, target: T1) -> T0
where Self: Sized,

Source

fn create_proxy_object_2(self, o: Object) -> Object
where Self: Sized,

Source

fn get_target_type(self) -> SystemType
where Self: Sized,

Source

fn get_proxy_type(self) -> SystemType
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§