pub struct ProfilesView {
pub title: String,
pub rows: Vec<RowView>,
pub current_mark: String,
pub actions: Option<ActionsView>,
pub typing: Option<TypingView>,
pub grid: Option<GridView>,
pub leaving: Option<AskView<LeaveChoice>>,
pub deleting: Option<AskView<DeleteChoice>>,
pub message: Option<String>,
pub help: String,
}Expand description
The whole screen, as it is this frame.
Fields§
§title: StringThe screen’s title.
rows: Vec<RowView>The profiles, in the order they were made, then the row that adds one.
current_mark: StringThe words that mark the profile in use.
actions: Option<ActionsView>What can be done to the focused profile, while that menu is open.
typing: Option<TypingView>The typing box, while a name is typed on the keyboard.
grid: Option<GridView>The letter grid, while a name is spelled on a controller.
leaving: Option<AskView<LeaveChoice>>The question asked on backing out of a name box, while it is open.
deleting: Option<AskView<DeleteChoice>>The question asked before deleting, while it is open.
message: Option<String>A message for the player (something couldn’t be done).
help: StringThe help line: what the keys do here.
Implementations§
Trait Implementations§
Source§impl Clone for ProfilesView
impl Clone for ProfilesView
Source§fn clone(&self) -> ProfilesView
fn clone(&self) -> ProfilesView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProfilesView
impl Debug for ProfilesView
impl Eq for ProfilesView
Source§impl PartialEq for ProfilesView
impl PartialEq for ProfilesView
impl StructuralPartialEq for ProfilesView
Auto Trait Implementations§
impl Freeze for ProfilesView
impl RefUnwindSafe for ProfilesView
impl Send for ProfilesView
impl Sync for ProfilesView
impl Unpin for ProfilesView
impl UnsafeUnpin for ProfilesView
impl UnwindSafe for ProfilesView
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more