Struct libracerd::engine::CursorPosition [] [src]

pub struct CursorPosition {
    pub line: usize,
    pub col: usize,
}

Position of the cursor in a text file

Similar to a point, it has two coordinates line and col.

Fields

line
col

Trait Implementations

Derived Implementations

impl Debug for CursorPosition

fn fmt(&self, __arg_0: &mut Formatter) -> Result