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§
Implementations§
source§impl PanelPurpose
impl PanelPurpose
pub fn is_arg_edition(self) -> bool
pub fn is_preview(self) -> bool
Trait Implementations§
source§impl Clone for PanelPurpose
impl Clone for PanelPurpose
source§fn clone(&self) -> PanelPurpose
fn clone(&self) -> PanelPurpose
Returns a copy of the value. Read more
1.0.0 · 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 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§
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