pub trait CommandNavigationContext {
// Required methods
fn help_topic(&self, topic: &str) -> NavigationHelpTopic;
fn cached_skills(&self) -> Vec<NavigationSkill>;
fn help_is_open(&self) -> bool;
fn open_help(&mut self);
fn home_is_blocked(&self) -> bool;
fn restore_home(&mut self);
fn overview(&self) -> NavigationOverview;
fn links(&self) -> NavigationLinks;
}Required Methods§
fn help_topic(&self, topic: &str) -> NavigationHelpTopic
fn cached_skills(&self) -> Vec<NavigationSkill>
fn help_is_open(&self) -> bool
fn open_help(&mut self)
fn home_is_blocked(&self) -> bool
fn restore_home(&mut self)
fn overview(&self) -> NavigationOverview
fn links(&self) -> NavigationLinks
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".