pub enum PanelKind {
View,
Control,
Mixed,
}Expand description
What a panel does to what the application edits (a document, a
photo): shows it, edits it, or shows it with parts that edit it. The
application declares it (PanelSpec::kind); the panel’s chrome
shows an “edits” mark for a control or mixed panel, never the panel.
Variants§
View
It only shows, or moves what is shown (pan, zoom, selection): nothing it does is an edit.
Control
Its purpose is editing (parameters, a node graph, masks).
Mixed
A view with parts that edit (a histogram dragged to change the exposure).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PanelKind
impl<'de> Deserialize<'de> for PanelKind
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 Copy for PanelKind
impl Eq for PanelKind
impl StructuralPartialEq for PanelKind
Auto Trait Implementations§
impl Freeze for PanelKind
impl RefUnwindSafe for PanelKind
impl Send for PanelKind
impl Sync for PanelKind
impl Unpin for PanelKind
impl UnsafeUnpin for PanelKind
impl UnwindSafe for PanelKind
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