#[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§fn clone(&self) -> SourceView
fn clone(&self) -> SourceView
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 SourceView
impl Debug for SourceView
impl Eq for SourceView
Source§impl PartialEq for SourceView
impl PartialEq for SourceView
Source§fn eq(&self, other: &SourceView) -> bool
fn eq(&self, other: &SourceView) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SourceView
Auto Trait Implementations§
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