Skip to main content

HasIDispatch

Trait HasIDispatch 

Source
pub trait HasIDispatch<T = Self> {
    // Required method
    fn get_idispatch(&self) -> &IDispatch;
}
Expand description

A component that has an IDispatch value. Every component needs this, and this trait guarantees that.

Required Methods§

Source

fn get_idispatch(&self) -> &IDispatch

Get the IDispatch object for low-level access to this component.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§