Skip to main content

DeployableDesktopItem

Trait DeployableDesktopItem 

Source
pub trait DeployableDesktopItem: Send + 'static {
    // Required method
    fn new(ctx: &Context<'_>) -> Self;

    // Provided methods
    fn events(&self) -> RVec<EventFilter> { ... }
    fn deploy(&mut self, _ctx: &Context<'_>, _event: &Event) -> DeployResult { ... }
}

Required Methods§

Source

fn new(ctx: &Context<'_>) -> Self

Provided Methods§

Source

fn events(&self) -> RVec<EventFilter>

Source

fn deploy(&mut self, _ctx: &Context<'_>, _event: &Event) -> DeployResult

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§