10 lines
240 B
Rust
10 lines
240 B
Rust
pub trait FocusModeHint<F: super::FocusId> {
|
|
fn focus_modes(&self) -> &[&'static str];
|
|
}
|
|
|
|
impl<F: super::FocusId> FocusModeHint<F> for super::FocusManager<F> {
|
|
fn focus_modes(&self) -> &[&'static str] {
|
|
&["general"]
|
|
}
|
|
}
|