pub enum ArgValue {
Count(usize),
Register(char),
Motion(String),
Range(usize, usize),
FilePath(String),
String(String),
Bang(bool),
Bool(bool),
BufferId(usize),
Char(char),
Position(usize, usize),
WindowId(usize),
}Expand description
Argument value parsed from user input.
Variants§
Count(usize)
A numeric count.
Register(char)
A register name.
Motion(String)
A motion identifier (command ID as string for simplicity).
Range(usize, usize)
A line range (start, end).
FilePath(String)
A file path.
String(String)
A generic string.
Bang(bool)
A bang modifier.
Bool(bool)
A boolean flag (e.g., linewise, find_inclusive).
BufferId(usize)
A buffer identifier (raw usize, converted to BufferId by helper).
Char(char)
A single character (e.g., for find-char targets).
Position(usize, usize)
A position (line, column) for operator ranges (Epic #415).
WindowId(usize)
A window identifier (raw usize, converted to WindowId by helper).
Trait Implementations§
impl Eq for ArgValue
impl StructuralPartialEq for ArgValue
Auto Trait Implementations§
impl Freeze for ArgValue
impl RefUnwindSafe for ArgValue
impl Send for ArgValue
impl Sync for ArgValue
impl Unpin for ArgValue
impl UnsafeUnpin for ArgValue
impl UnwindSafe for ArgValue
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