Skip to main content

MenuInterfaceSignals

Trait MenuInterfaceSignals 

Source
pub trait MenuInterfaceSignals {
    // Required method
    fn layout_updated<'life0, 'async_trait>(
        &'life0 self,
        revision: u32,
        parent: i32,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Trait providing all signal emission methods for MenuInterface.

Required Methods§

Source

fn layout_updated<'life0, 'async_trait>( &'life0 self, revision: u32, parent: i32, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl MenuInterfaceSignals for InterfaceRef<MenuInterface>

Source§

fn layout_updated<'life0, 'async_trait>( &'life0 self, revision: u32, parent: i32, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

impl MenuInterfaceSignals for SignalEmitter<'_>

Source§

fn layout_updated<'life0, 'async_trait>( &'life0 self, revision: u32, parent: i32, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§