[][src]Struct libslang_sys::slang::SLsmg_Term_Type

#[repr(C)]pub struct SLsmg_Term_Type {
    pub tt_normal_video: Option<unsafe extern "C" fn()>,
    pub tt_set_scroll_region: Option<unsafe extern "C" fn(arg1: c_int, arg2: c_int)>,
    pub tt_goto_rc: Option<unsafe extern "C" fn(arg1: c_int, arg2: c_int)>,
    pub tt_reverse_index: Option<unsafe extern "C" fn(arg1: c_int)>,
    pub tt_reset_scroll_region: Option<unsafe extern "C" fn()>,
    pub tt_delete_nlines: Option<unsafe extern "C" fn(arg1: c_int)>,
    pub tt_cls: Option<unsafe extern "C" fn()>,
    pub tt_del_eol: Option<unsafe extern "C" fn()>,
    pub tt_smart_puts: Option<unsafe extern "C" fn(arg1: *mut SLsmg_Char_Type, arg2: *mut SLsmg_Char_Type, arg3: c_int, arg4: c_int)>,
    pub tt_flush_output: Option<unsafe extern "C" fn() -> c_int>,
    pub tt_reset_video: Option<unsafe extern "C" fn() -> c_int>,
    pub tt_init_video: Option<unsafe extern "C" fn() -> c_int>,
    pub tt_screen_rows: *mut c_int,
    pub tt_screen_cols: *mut c_int,
    pub tt_term_cannot_scroll: *mut c_int,
    pub tt_has_alt_charset: *mut c_int,
    pub tt_graphic_char_pairs: *mut *mut c_char,
    pub unicode_ok: *mut c_int,
    pub reserved: [c_long; 4],
}

Fields

tt_normal_video: Option<unsafe extern "C" fn()>tt_set_scroll_region: Option<unsafe extern "C" fn(arg1: c_int, arg2: c_int)>tt_goto_rc: Option<unsafe extern "C" fn(arg1: c_int, arg2: c_int)>tt_reverse_index: Option<unsafe extern "C" fn(arg1: c_int)>tt_reset_scroll_region: Option<unsafe extern "C" fn()>tt_delete_nlines: Option<unsafe extern "C" fn(arg1: c_int)>tt_cls: Option<unsafe extern "C" fn()>tt_del_eol: Option<unsafe extern "C" fn()>tt_smart_puts: Option<unsafe extern "C" fn(arg1: *mut SLsmg_Char_Type, arg2: *mut SLsmg_Char_Type, arg3: c_int, arg4: c_int)>tt_flush_output: Option<unsafe extern "C" fn() -> c_int>tt_reset_video: Option<unsafe extern "C" fn() -> c_int>tt_init_video: Option<unsafe extern "C" fn() -> c_int>tt_screen_rows: *mut c_inttt_screen_cols: *mut c_inttt_term_cannot_scroll: *mut c_inttt_has_alt_charset: *mut c_inttt_graphic_char_pairs: *mut *mut c_charunicode_ok: *mut c_intreserved: [c_long; 4]

Trait Implementations

impl Clone for SLsmg_Term_Type[src]

impl Copy for SLsmg_Term_Type[src]

impl Debug for SLsmg_Term_Type[src]

Auto Trait Implementations

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.