pub struct DispatchInterface { /* private fields */ }
Expand description

Holds the pointer to the IDispatch interface. Drop is implemented to correctly release the pointer when dropped.

Implementations

Creates a new Dispatch Interface using the provided pointer. The pointer should not be managed by anything else after provided to the interface.

This executes a dispatch method operation for the name provided and passes the arguments to the operation.

This executes a property get operation for the name provided and passes the arguments to the operation.

This executes a property put operation for the name provided and passes the arguments to the operation.

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.