#[non_exhaustive]pub enum SourceView {
Show 14 variants
Log,
Diff,
Show,
Status,
Evolog,
Workspaces,
WorkspaceLog,
WorkspaceStatus,
WorkspaceDiff,
CommandHistory,
OperationLog,
OperationShow,
OperationDiff,
Other(String),
}Expand description
App view that triggered a command.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Log
Log view.
Diff
Diff view.
Show
Show view.
Status
Status view.
Evolog
Evolog view.
Workspaces
Workspaces list.
WorkspaceLog
Selected workspace log view.
WorkspaceStatus
Selected workspace status view.
WorkspaceDiff
Selected workspace diff view.
CommandHistory
Command history view.
OperationLog
Operation log view.
OperationShow
Operation show view.
OperationDiff
Operation diff view.
Other(String)
A source view not yet modeled.
Trait Implementations§
Source§impl Clone for SourceView
impl Clone for SourceView
Source§impl Debug for SourceView
impl Debug for SourceView
impl Eq for SourceView
Source§impl PartialEq for SourceView
impl PartialEq for SourceView
impl StructuralPartialEq for SourceView
Auto Trait Implementations§
impl Forget for SourceView
impl Freeze for SourceView
impl RefUnwindSafe for SourceView
impl Send for SourceView
impl Sync for SourceView
impl Unpin for SourceView
impl UnsafeUnpin for SourceView
impl UnwindSafe for SourceView
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