pub trait UiService {
// Required methods
fn capabilities(&self) -> UiCap;
fn version(&self) -> (u32, u32, u32) ⓘ;
// Provided method
fn version_string(&self) -> String ⓘ { ... }
}
Expand description
Common trait for all UI services.
Required Methods§
Sourcefn capabilities(&self) -> UiCap
fn capabilities(&self) -> UiCap
Returns the service capabilities.
Provided Methods§
Sourcefn version_string(&self) -> String ⓘ
Available on crate feature alloc
only.
fn version_string(&self) -> String ⓘ
alloc
only.Returns the service version string.
Implementors§
impl UiService for CrosstermService
Available on crate feature
dep_crossterm
only.impl<T: MiniquadEventHandlerExt + 'static> UiService for MiniquadService<T>
Available on crate feature
dep_miniquad
only.