Struct nvim_gtk::mode::ModeInfo[][src]

pub struct ModeInfo {
    cursor_shape: Option<CursorShape>,
    cell_percentage: Option<u64>,
    pub blinkwait: Option<u32>,
}

Fields

cursor_shape: Option<CursorShape>cell_percentage: Option<u64>blinkwait: Option<u32>

Implementations

impl ModeInfo[src]

pub fn new(mode_info_map: &HashMap<String, Value>) -> Result<Self, String>[src]

pub fn cursor_shape(&self) -> Option<&CursorShape>[src]

pub fn cell_percentage(&self) -> u64[src]

Trait Implementations

impl Clone for ModeInfo[src]

impl Debug for ModeInfo[src]

impl PartialEq<ModeInfo> for ModeInfo[src]

impl StructuralPartialEq for ModeInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for ModeInfo

impl Send for ModeInfo

impl Sync for ModeInfo

impl Unpin for ModeInfo

impl UnwindSafe for ModeInfo

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.