working focus
This commit is contained in:
9
src/focus/mode.rs
Normal file
9
src/focus/mode.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
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"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user