pub struct HxStatusLine {
pub file_path: PathBuf,
pub position: HxCursorPosition,
}Expand description
Represents the parsed status line from Helix editor, containing filepath and cursor position.
Fields§
§file_path: PathBufThe filepath currently open in the editor.
position: HxCursorPositionThe current cursor position in the file.
Trait Implementations§
Source§impl Debug for HxStatusLine
impl Debug for HxStatusLine
Source§impl FromStr for HxStatusLine
Parses a HxStatusLine from a Helix editor status line string.
impl FromStr for HxStatusLine
Parses a HxStatusLine from a Helix editor status line string.
Source§impl PartialEq for HxStatusLine
impl PartialEq for HxStatusLine
impl Eq for HxStatusLine
impl StructuralPartialEq for HxStatusLine
Auto Trait Implementations§
impl Freeze for HxStatusLine
impl RefUnwindSafe for HxStatusLine
impl Send for HxStatusLine
impl Sync for HxStatusLine
impl Unpin for HxStatusLine
impl UnsafeUnpin for HxStatusLine
impl UnwindSafe for HxStatusLine
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.