Skip to main content

IFunc_2Methods

Trait IFunc_2Methods 

Source
pub trait IFunc_2Methods<T0: ClassIdentity, T1: ClassIdentity>: ClassIdentity {
    // Provided methods
    fn ctor(self, object: Object, method: IntPtr)
       where Self: Sized { ... }
    fn invoke(self, arg: T0) -> T1
       where Self: Sized { ... }
}

Provided Methods§

Source

fn ctor(self, object: Object, method: IntPtr)
where Self: Sized,

Source

fn invoke(self, arg: T0) -> T1
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§

Source§

impl<T0: ClassIdentity, T1: ClassIdentity, __U: IFunc_2<T0, T1> + ClassIdentity> IFunc_2Methods<T0, T1> for __U