pub trait NavigationEntry<W, H, C>:
Default
+ Send
+ Sync
+ Clone
+ PartialEq
+ 'static{
// Required method
fn get_view(&self) -> Result<Box<dyn View<W, H, C, Self>>, Box<dyn Error>>;
}Expand description
A trait for navigation entries in a Stream Deck application.
This trait is implemented by types that represent different views or screens in a Stream Deck application. It provides a method for getting the view associated with a navigation entry.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.