Trait nvim_gtk::cursor::Cursor[][src]

pub trait Cursor {
    fn draw(
        &self,
        ctx: &Context,
        font_ctx: &Context,
        line_y: f64,
        double_width: bool,
        hl: &HighlightMap
    ) -> f64;
fn is_visible(&self) -> bool;
fn mode_info(&self) -> Option<&ModeInfo>; }

Required methods

fn draw(
    &self,
    ctx: &Context,
    font_ctx: &Context,
    line_y: f64,
    double_width: bool,
    hl: &HighlightMap
) -> f64
[src]

return cursor current alpha value

fn is_visible(&self) -> bool[src]

fn mode_info(&self) -> Option<&ModeInfo>[src]

Loading content...

Implementors

impl Cursor for EmptyCursor[src]

impl<CB: CursorRedrawCb> Cursor for BlinkCursor<CB>[src]

Loading content...