Struct nvim_gtk::cursor::BlinkCursor[][src]

pub struct BlinkCursor<CB: CursorRedrawCb> {
    state: Arc<UiMutex<State<CB>>>,
    mode_info: Option<ModeInfo>,
}

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]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.