pub trait Cursor {
// Required methods
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§
Sourcefn draw(
&self,
ctx: &Context,
font_ctx: &Context,
line_y: f64,
double_width: bool,
hl: &HighlightMap,
) -> f64
fn draw( &self, ctx: &Context, font_ctx: &Context, line_y: f64, double_width: bool, hl: &HighlightMap, ) -> f64
return cursor current alpha value