Skip to main content

App

Trait App 

Source
pub trait App {
Show 13 methods // Required methods fn ui(&mut self, ui: &mut Ui); fn theme(&self) -> Theme; // Provided methods fn viewport(&self) -> bool { ... } fn frame( &mut self, _gpu: &Gpu, _renderer: &mut Renderer, _pixels_per_point: f32, ) -> bool { ... } fn forget(&mut self) { ... } fn name(&self) -> &str { ... } fn label(&self) -> Option<String> { ... } fn watched(&self) -> Watch { ... } fn changed(&mut self, _files: &[PathBuf]) { ... } fn waker(&mut self, _wake: Wake) { ... } fn opened(&mut self) -> bool { ... } fn pgpu(&mut self, _state: Pgpu) { ... } fn timing(&self) -> Timing { ... }
}

Required Methods§

Source

fn ui(&mut self, ui: &mut Ui)

Source

fn theme(&self) -> Theme

Provided Methods§

Source

fn viewport(&self) -> bool

Source

fn frame( &mut self, _gpu: &Gpu, _renderer: &mut Renderer, _pixels_per_point: f32, ) -> bool

Source

fn forget(&mut self)

Source

fn name(&self) -> &str

Source

fn label(&self) -> Option<String>

Source

fn watched(&self) -> Watch

Source

fn changed(&mut self, _files: &[PathBuf])

Source

fn waker(&mut self, _wake: Wake)

Source

fn opened(&mut self) -> bool

Source

fn pgpu(&mut self, _state: Pgpu)

Source

fn timing(&self) -> Timing

Implementors§