pub trait ManagerScreenExt<This>where
This: NavigationStateAlg + QueueCatalogAlg + DetailSelectionAlg + ManagerStatusAlg + TextEditorStateAlg + DraftStateAlg + OutputDraftAlg + InputDraftAlg,
This::Entry: QueueEntryAlg + RequestOptionsAlg + TransferViewAlg + FormatChoiceViewAlg<Format: FormatDescriptionAlg> + RehearsalViewAlg<Change: PlannedChangeAlg>,
This::Id: Copy + Eq,{
Show 17 methods
// Required methods
fn screen<Syntax>(
&self,
syntax: &Syntax,
application: Application<'_>,
) -> Syntax::Screen
where Syntax: ScreenSyntax;
fn header_line<Syntax>(
&self,
syntax: &Syntax,
application: Application<'_>,
) -> Syntax::Line
where Syntax: ScreenSyntax;
fn footer_line<Syntax>(&self, syntax: &Syntax) -> Syntax::Line
where Syntax: ScreenSyntax;
fn body<Syntax>(&self, syntax: &Syntax) -> Syntax::Body
where Syntax: ScreenSyntax;
fn collection_body<Syntax>(
&self,
syntax: &Syntax,
expanded: Option<This::Id>,
) -> Syntax::Body
where Syntax: ScreenSyntax;
fn compact_row<Syntax>(
&self,
syntax: &Syntax,
id: This::Id,
entry: &This::Entry,
) -> Syntax::Row
where Syntax: ScreenSyntax;
fn expanded_row<Syntax>(
&self,
syntax: &Syntax,
id: This::Id,
entry: &This::Entry,
) -> Syntax::Row
where Syntax: ScreenSyntax;
fn input_line<Syntax>(
&self,
syntax: &Syntax,
id: This::Id,
entry: &This::Entry,
) -> Syntax::Line
where Syntax: ScreenSyntax;
fn output_line<Syntax>(
&self,
syntax: &Syntax,
id: This::Id,
entry: &This::Entry,
) -> Syntax::Line
where Syntax: ScreenSyntax;
fn format_choice_parts(&self, entry: &This::Entry) -> (String, String);
fn command_body<Syntax>(
&self,
syntax: &Syntax,
id: This::Id,
) -> Syntax::Body
where Syntax: ScreenSyntax;
fn transfer_summary_text(&self, entry: &This::Entry) -> String;
fn formats_body<Syntax>(
&self,
syntax: &Syntax,
id: This::Id,
) -> Syntax::Body
where Syntax: ScreenSyntax;
fn chosen_choice_row(&self, entry: &This::Entry, discovered: bool) -> usize;
fn report_body<Syntax>(&self, syntax: &Syntax, id: This::Id) -> Syntax::Body
where Syntax: ScreenSyntax;
fn record_body<Syntax>(&self, syntax: &Syntax, id: This::Id) -> Syntax::Body
where Syntax: ScreenSyntax;
fn draft_body<Syntax>(&self, syntax: &Syntax) -> Syntax::Body
where Syntax: ScreenSyntax;
}Expand description
Composes every manager page from what the manager states about itself.
Required Methods§
Sourcefn screen<Syntax>(
&self,
syntax: &Syntax,
application: Application<'_>,
) -> Syntax::Screenwhere
Syntax: ScreenSyntax,
fn screen<Syntax>(
&self,
syntax: &Syntax,
application: Application<'_>,
) -> Syntax::Screenwhere
Syntax: ScreenSyntax,
States the whole screen the current page denotes.
Sourcefn header_line<Syntax>(
&self,
syntax: &Syntax,
application: Application<'_>,
) -> Syntax::Linewhere
Syntax: ScreenSyntax,
fn header_line<Syntax>(
&self,
syntax: &Syntax,
application: Application<'_>,
) -> Syntax::Linewhere
Syntax: ScreenSyntax,
States what the current page belongs to and the path that reached it.
States every menu entry the page offers, the unavailable ones stated quietly.
Sourcefn body<Syntax>(&self, syntax: &Syntax) -> Syntax::Bodywhere
Syntax: ScreenSyntax,
fn body<Syntax>(&self, syntax: &Syntax) -> Syntax::Bodywhere
Syntax: ScreenSyntax,
States what the current page holds.
Sourcefn collection_body<Syntax>(
&self,
syntax: &Syntax,
expanded: Option<This::Id>,
) -> Syntax::Bodywhere
Syntax: ScreenSyntax,
fn collection_body<Syntax>(
&self,
syntax: &Syntax,
expanded: Option<This::Id>,
) -> Syntax::Bodywhere
Syntax: ScreenSyntax,
States the collection, one row per request, at most one of them expanded.
Sourcefn compact_row<Syntax>(
&self,
syntax: &Syntax,
id: This::Id,
entry: &This::Entry,
) -> Syntax::Rowwhere
Syntax: ScreenSyntax,
fn compact_row<Syntax>(
&self,
syntax: &Syntax,
id: This::Id,
entry: &This::Entry,
) -> Syntax::Rowwhere
Syntax: ScreenSyntax,
States one request in one line: how far it has come, what it is, and where it stands.
Sourcefn expanded_row<Syntax>(
&self,
syntax: &Syntax,
id: This::Id,
entry: &This::Entry,
) -> Syntax::Rowwhere
Syntax: ScreenSyntax,
fn expanded_row<Syntax>(
&self,
syntax: &Syntax,
id: This::Id,
entry: &This::Entry,
) -> Syntax::Rowwhere
Syntax: ScreenSyntax,
States everything one request holds, and everything that can be done to it.
Sourcefn input_line<Syntax>(
&self,
syntax: &Syntax,
id: This::Id,
entry: &This::Entry,
) -> Syntax::Linewhere
Syntax: ScreenSyntax,
fn input_line<Syntax>(
&self,
syntax: &Syntax,
id: This::Id,
entry: &This::Entry,
) -> Syntax::Linewhere
Syntax: ScreenSyntax,
States where the request comes from, or the draft renaming that.
Sourcefn output_line<Syntax>(
&self,
syntax: &Syntax,
id: This::Id,
entry: &This::Entry,
) -> Syntax::Linewhere
Syntax: ScreenSyntax,
fn output_line<Syntax>(
&self,
syntax: &Syntax,
id: This::Id,
entry: &This::Entry,
) -> Syntax::Linewhere
Syntax: ScreenSyntax,
States where the request will be published, or the draft renaming it.
Sourcefn format_choice_parts(&self, entry: &This::Entry) -> (String, String)
fn format_choice_parts(&self, entry: &This::Entry) -> (String, String)
States what the request chose: what it is called, and what choosing it does.
A choice a reader would not recognize by name says what it does, and says it right after its name: the two are one phrase, and a column between them would break it in half.
Sourcefn command_body<Syntax>(&self, syntax: &Syntax, id: This::Id) -> Syntax::Bodywhere
Syntax: ScreenSyntax,
fn command_body<Syntax>(&self, syntax: &Syntax, id: This::Id) -> Syntax::Bodywhere
Syntax: ScreenSyntax,
States the whole command one request would run, and nothing else.
Sourcefn transfer_summary_text(&self, entry: &This::Entry) -> String
fn transfer_summary_text(&self, entry: &This::Entry) -> String
States what a transfer has moved and how quickly, in one phrase.
Sourcefn formats_body<Syntax>(&self, syntax: &Syntax, id: This::Id) -> Syntax::Bodywhere
Syntax: ScreenSyntax,
fn formats_body<Syntax>(&self, syntax: &Syntax, id: This::Id) -> Syntax::Bodywhere
Syntax: ScreenSyntax,
States the choices one request offers: the roles first, then everything discovered.
Sourcefn chosen_choice_row(&self, entry: &This::Entry, discovered: bool) -> usize
fn chosen_choice_row(&self, entry: &This::Entry, discovered: bool) -> usize
States which offered row the request’s current choice rests on.
Sourcefn report_body<Syntax>(&self, syntax: &Syntax, id: This::Id) -> Syntax::Bodywhere
Syntax: ScreenSyntax,
fn report_body<Syntax>(&self, syntax: &Syntax, id: This::Id) -> Syntax::Bodywhere
Syntax: ScreenSyntax,
States what the rehearsal said one request would do.
Sourcefn record_body<Syntax>(&self, syntax: &Syntax, id: This::Id) -> Syntax::Bodywhere
Syntax: ScreenSyntax,
fn record_body<Syntax>(&self, syntax: &Syntax, id: This::Id) -> Syntax::Bodywhere
Syntax: ScreenSyntax,
States everything observed about one request, in the order it was observed.
Sourcefn draft_body<Syntax>(&self, syntax: &Syntax) -> Syntax::Bodywhere
Syntax: ScreenSyntax,
fn draft_body<Syntax>(&self, syntax: &Syntax) -> Syntax::Bodywhere
Syntax: ScreenSyntax,
States the sources draft under edit, and the shapes a source may be written in.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<This> ManagerScreenExt<This> for Thiswhere
This: NavigationStateAlg + QueueCatalogAlg + DetailSelectionAlg + ManagerStatusAlg + TextEditorStateAlg + DraftStateAlg + OutputDraftAlg + InputDraftAlg,
This::Entry: QueueEntryAlg + RequestOptionsAlg + TransferViewAlg + FormatChoiceViewAlg<Format: FormatDescriptionAlg> + RehearsalViewAlg<Change: PlannedChangeAlg>,
This::Id: Copy + Eq,
Composes every manager page from what the manager states about itself.