Skip to main content

HostIntents

Trait HostIntents 

pub trait HostIntents {
    // Required method
    fn take_host_intent(&mut self) -> Option<AppHostIntent>;
}
Expand description

A presentation whose app runs elsewhere (a tilolang host’s instance) can ask the shell for what only it does, as an app’s own surface asks (crate::widget::AppHostIntent): show a task run’s log when a change mark is activated.

Required Methods§

fn take_host_intent(&mut self) -> Option<AppHostIntent>

Consume one request for the shell.

Implementors§