Enum fm::mode::NeedConfirmation
source · pub enum NeedConfirmation {
Copy,
Delete,
Move,
EmptyTrash,
}Expand description
Different kind of last edition command received requiring a confirmation. Copy, move and delete require a confirmation to prevent big mistakes.
Variants§
Implementations§
source§impl NeedConfirmation
impl NeedConfirmation
sourcepub fn cursor_offset(&self) -> usize
pub fn cursor_offset(&self) -> usize
Offset before the cursor. Since we ask the user confirmation, we need to know how much space is needed.
Trait Implementations§
source§impl Clone for NeedConfirmation
impl Clone for NeedConfirmation
source§fn clone(&self) -> NeedConfirmation
fn clone(&self) -> NeedConfirmation
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 more