pub trait WidgetDrawApi {
    // Required methods
    fn is_done(&self) -> bool;
    fn is_hook(&self) -> bool;
    fn hook_widget(self) -> Option<WidgetRef>;

    // Provided methods
    fn done() -> WidgetDraw { ... }
    fn hook(arg: WidgetRef) -> WidgetDraw { ... }
    fn hook_above() -> WidgetDraw { ... }
}

Required Methods§

Provided Methods§

Implementors§