pub trait ManagerMenuExt<This>where
This: NavigationStateAlg + QueueCatalogAlg + DraftStateAlg + InputDraftAlg + OutputDraftAlg + TextEditorStateAlg + DetailSelectionAlg,
This::Entry: QueueEntryAlg + RequestOptionsAlg,
This::Id: Copy + Eq,{
// Required methods
fn action_availability(&self, action: ManagerAction) -> ActionAvailability;
fn cursor_can_move(&self, forward: bool) -> bool;
fn selection_can_activate(&self) -> bool;
}Expand description
Derives action availability from renderer-neutral manager observations.
Required Methods§
Sourcefn action_availability(&self, action: ManagerAction) -> ActionAvailability
fn action_availability(&self, action: ManagerAction) -> ActionAvailability
Derives whether one reusable action currently has meaning.
Sourcefn cursor_can_move(&self, forward: bool) -> bool
fn cursor_can_move(&self, forward: bool) -> bool
Derives whether the current page cursor can move in one direction.
Sourcefn selection_can_activate(&self) -> bool
fn selection_can_activate(&self) -> bool
Derives whether the current cursor position denotes an activatable value.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<This> ManagerMenuExt<This> for Thiswhere
This: NavigationStateAlg + QueueCatalogAlg + DraftStateAlg + InputDraftAlg + OutputDraftAlg + TextEditorStateAlg + DetailSelectionAlg,
This::Entry: QueueEntryAlg + RequestOptionsAlg,
This::Id: Copy + Eq,
Derives action availability from renderer-neutral manager observations.