Skip to main content

DeployableDesktopItemObject

Trait DeployableDesktopItemObject 

Source
pub trait DeployableDesktopItemObject: Send + 'static {
    // Required methods
    fn events(&self) -> RVec<EventFilter>;
    fn deploy(&mut self, ctx: &Context<'_>, event: &Event) -> DeployResult;
}

Required Methods§

Source

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

Source

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

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<_ErasedPtr> DeployableDesktopItemObject for DeployableDesktopItemObject_TO<_ErasedPtr>
where Self: Send + 'static, _ErasedPtr: AsMutPtr<PtrTarget = ()>,