Struct nvim_gtk::cursor::BlinkCursor [−][src]
Fields
state: Arc<UiMutex<State<CB>>>
mode_info: Option<ModeInfo>
Implementations
impl<CB: CursorRedrawCb + 'static> BlinkCursor<CB>
[src]
pub fn new(redraw_cb: Weak<UiMutex<CB>>) -> Self
[src]
pub fn set_mode_info(&mut self, mode_info: Option<ModeInfo>)
[src]
pub fn start(&mut self)
[src]
pub fn reset_state(&mut self)
[src]
pub fn enter_focus(&mut self)
[src]
pub fn leave_focus(&mut self)
[src]
pub fn busy_on(&mut self)
[src]
pub fn busy_off(&mut self)
[src]
Trait Implementations
impl<CB: CursorRedrawCb> Cursor for BlinkCursor<CB>
[src]
fn draw(
&self,
ctx: &Context,
font_ctx: &Context,
line_y: f64,
double_width: bool,
hl: &HighlightMap
) -> f64
[src]
&self,
ctx: &Context,
font_ctx: &Context,
line_y: f64,
double_width: bool,
hl: &HighlightMap
) -> f64
fn is_visible(&self) -> bool
[src]
fn mode_info(&self) -> Option<&ModeInfo>
[src]
impl<CB: CursorRedrawCb> Drop for BlinkCursor<CB>
[src]
Auto Trait Implementations
impl<CB> !RefUnwindSafe for BlinkCursor<CB>
impl<CB> Send for BlinkCursor<CB>
impl<CB> Sync for BlinkCursor<CB>
impl<CB> Unpin for BlinkCursor<CB>
impl<CB> !UnwindSafe for BlinkCursor<CB>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,