Enum broot::app::PanelPurpose
source · [−]pub enum PanelPurpose {
None,
ArgEdition {
arg_type: SelectionType,
},
Preview,
}
Expand description
the possible special reason the panel was open
Variants
None
ArgEdition
Fields
arg_type: SelectionType
Preview
Implementations
sourceimpl PanelPurpose
impl PanelPurpose
pub fn is_arg_edition(self) -> bool
pub fn is_preview(self) -> bool
Trait Implementations
sourceimpl Clone for PanelPurpose
impl Clone for PanelPurpose
sourcefn clone(&self) -> PanelPurpose
fn clone(&self) -> PanelPurpose
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PanelPurpose
impl Debug for PanelPurpose
impl Copy for PanelPurpose
Auto Trait Implementations
impl RefUnwindSafe for PanelPurpose
impl Send for PanelPurpose
impl Sync for PanelPurpose
impl Unpin for PanelPurpose
impl UnwindSafe for PanelPurpose
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more