pub enum Pane {
Tree,
Log,
}Expand description
Which middle-pane view is showing. Part of the observable GitState, so it is
serializable; the string form the deck reads ("tree" / "log") is emitted by
[GitView::state_json].
Variants§
Trait Implementations§
impl Copy for Pane
Source§impl<'de> Deserialize<'de> for Pane
impl<'de> Deserialize<'de> for Pane
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Pane
impl StructuralPartialEq for Pane
Auto Trait Implementations§
impl Freeze for Pane
impl RefUnwindSafe for Pane
impl Send for Pane
impl Sync for Pane
impl Unpin for Pane
impl UnsafeUnpin for Pane
impl UnwindSafe for Pane
Blanket Implementations§
impl<T> Allocation for T
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