Skip to main content

ExtensionDescriptor

Trait ExtensionDescriptor 

Source
pub trait ExtensionDescriptor: UriBound {
    type ExtensionInterface: 'static + Any;

    const INTERFACE: &'static Self::ExtensionInterface;
}
Expand description

A descriptor for a plugin extension.

This trait is very minimal: It only contains a constant, static reference to the extension interface.

For a usage example, see the module documentation.

Required Associated Constants§

Source

const INTERFACE: &'static Self::ExtensionInterface

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§