[][src]Struct tinf::cap::Boolean

pub struct Boolean(_);

Boolean capability names.

The names are used as indices into a Desc.

NameShort name
auto_left_marginbw
auto_right_marginam
no_esc_ctlcxsb
ceol_standout_glitchxhp
eat_newline_glitchxenl
erase_overstrikeeo
generic_typegn
hard_copyhc
has_meta_keykm
has_status_linehs
insert_null_glitchin_
memory_abovedb
memory_belowda
move_insert_modemir
move_standout_modemsgr
over_strikeos
status_line_esc_okeslok
dest_tabs_magic_smsoxt
tilde_glitchhz
transparent_underlineul
xon_xoffxon
needs_xon_xoffnxon
prtr_silentmc5i
hard_cursorchts
non_rev_rmcupnrrmc
no_pad_charnpc
non_dest_scroll_regionndscr
can_changeccc
back_color_erasebce
hue_lightness_saturationhls
col_addr_glitchxhpa
cr_cancels_micro_modecrxm
has_print_wheeldaisy
row_addr_glitchxvpa
semi_auto_right_marginsam
cpi_changes_rescpix
lpi_changes_reslpix
backspaces_with_bsOTbs_b
crt_no_scrollingOTns
no_correctly_working_crOTnc
gnu_has_meta_keyOTMT
linefeed_is_newlineOTNL
has_hardware_tabsOTpt
return_does_clr_eolOTxr

Implementations

impl Boolean[src]

pub fn named<T: Borrow<str>>(name: T) -> Option<Boolean>[src]

The Boolean capabilitiy name corresponding to the string name.

pub fn iter() -> BoolIter[src]

An iterator over the predefined boolean capabilities.

pub fn short_name(&self) -> &'static str[src]

The short name of the capability.

pub fn long_name(&self) -> &'static str[src]

The long name of the capability.

Trait Implementations

impl Clone for Boolean[src]

impl Copy for Boolean[src]

impl Debug for Boolean[src]

impl Index<Boolean> for Desc[src]

type Output = bool

The returned type after indexing.

fn index(&self, idx: Boolean) -> &bool[src]

The value of the boolean capability named by index.

Auto Trait Implementations

impl RefUnwindSafe for Boolean

impl Send for Boolean

impl Sync for Boolean

impl Unpin for Boolean

impl UnwindSafe for Boolean

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.