Trait bones_framework::render::ui::EguiResponseExt

source ·
pub trait EguiResponseExt {
    // Required method
    fn focus_by_default(self, ui: &mut Ui) -> Response;
}
Expand description

Extension trait with helpers for egui responses

Required Methods§

source

fn focus_by_default(self, ui: &mut Ui) -> Response

Set this response to focused if nothing else is focused

Implementations on Foreign Types§

source§

impl EguiResponseExt for Response

source§

fn focus_by_default(self, ui: &mut Ui) -> Response

Implementors§