[][src]Struct tinf::cap::String

pub struct String(_);

String capability names.

The names are used as indices into a Desc.

NameShort name
back_tabcbt
bellbel
carriage_returncr
change_scroll_regioncsr
clear_all_tabstbc
clear_screenclear
clr_eolel
clr_eosed
column_addresshpa
command_charactercmdch
cursor_addresscup
cursor_downcud1
cursor_homehome
cursor_invisiblecivis
cursor_leftcub1
cursor_mem_addressmrcup
cursor_normalcnorm
cursor_rightcuf1
cursor_to_llll
cursor_upcuu1
cursor_visiblecvvis
delete_characterdch1
delete_linedl1
dis_status_linedsl
down_half_linehd
enter_alt_charset_modesmacs
enter_blink_modeblink
enter_bold_modebold
enter_ca_modesmcup
enter_delete_modesmdc
enter_dim_modedim
enter_insert_modesmir
enter_secure_modeinvis
enter_protected_modeprot
enter_reverse_moderev
enter_standout_modesmso
enter_underline_modesmul
erase_charsech
exit_alt_charset_modermacs
exit_attribute_modesgr0
exit_ca_modermcup
exit_delete_modermdc
exit_insert_modermir
exit_standout_modermso
exit_underline_modermul
flash_screenflash
form_feedff
from_status_linefsl
init_1stringis1
init_2stringis2
init_3stringis3
init_fileif_
insert_characterich1
insert_lineil1
insert_paddingip
key_backspacekbs
key_catabktbc
key_clearkclr
key_ctabkctab
key_dckdch1
key_dlkdl1
key_downkcud1
key_eickrmir
key_eolkel
key_eosked
key_f0kf0
key_f1kf1
key_f10kf10
key_f2kf2
key_f3kf3
key_f4kf4
key_f5kf5
key_f6kf6
key_f7kf7
key_f8kf8
key_f9kf9
key_homekhome
key_ickich1
key_ilkil1
key_leftkcub1
key_llkll
key_npageknp
key_ppagekpp
key_rightkcuf1
key_sfkind
key_srkri
key_stabkhts
key_upkcuu1
keypad_localrmkx
keypad_xmitsmkx
lab_f0lf0
lab_f1lf1
lab_f10lf10
lab_f2lf2
lab_f3lf3
lab_f4lf4
lab_f5lf5
lab_f6lf6
lab_f7lf7
lab_f8lf8
lab_f9lf9
meta_offrmm
meta_onsmm
newlinenel
pad_charpad
parm_dchdch
parm_delete_linedl
parm_down_cursorcud
parm_ichich
parm_indexindn
parm_insert_lineil
parm_left_cursorcub
parm_right_cursorcuf
parm_rindexrin
parm_up_cursorcuu
pkey_keypfkey
pkey_localpfloc
pkey_xmitpfx
print_screenmc0
prtr_offmc4
prtr_onmc5
repeat_charrep
reset_1stringrs1
reset_2stringrs2
reset_3stringrs3
reset_filerf
restore_cursorrc
row_addressvpa
save_cursorsc
scroll_forwardind
scroll_reverseri
set_attributessgr
set_tabhts
set_windowwind
tabht
to_status_linetsl
underline_charuc
up_half_linehu
init_progiprog
key_a1ka1
key_a3ka3
key_b2kb2
key_c1kc1
key_c3kc3
prtr_nonmc5p
char_paddingrmp
acs_charsacsc
plab_normpln
key_btabkcbt
enter_xon_modesmxon
exit_xon_modermxon
enter_am_modesmam
exit_am_modermam
xon_characterxonc
xoff_characterxoffc
ena_acsenacs
label_onsmln
label_offrmln
key_begkbeg
key_cancelkcan
key_closekclo
key_commandkcmd
key_copykcpy
key_createkcrt
key_endkend
key_enterkent
key_exitkext
key_findkfnd
key_helpkhlp
key_markkmrk
key_messagekmsg
key_movekmov
key_nextknxt
key_openkopn
key_optionskopt
key_previouskprv
key_printkprt
key_redokrdo
key_referencekref
key_refreshkrfr
key_replacekrpl
key_restartkrst
key_resumekres
key_saveksav
key_suspendkspd
key_undokund
key_sbegkBEG
key_scancelkCAN
key_scommandkCMD
key_scopykCPY
key_screatekCRT
key_sdckDC
key_sdlkDL
key_selectkslt
key_sendkEND
key_seolkEOL
key_sexitkEXT
key_sfindkFND
key_shelpkHLP
key_shomekHOM
key_sickIC
key_sleftkLFT
key_smessagekMSG
key_smovekMOV
key_snextkNXT
key_soptionskOPT
key_spreviouskPRV
key_sprintkPRT
key_sredokRDO
key_sreplacekRPL
key_srightkRIT
key_srsumekRES
key_ssavekSAV
key_ssuspendkSPD
key_sundokUND
req_for_inputrfi
key_f11kf11
key_f12kf12
key_f13kf13
key_f14kf14
key_f15kf15
key_f16kf16
key_f17kf17
key_f18kf18
key_f19kf19
key_f20kf20
key_f21kf21
key_f22kf22
key_f23kf23
key_f24kf24
key_f25kf25
key_f26kf26
key_f27kf27
key_f28kf28
key_f29kf29
key_f30kf30
key_f31kf31
key_f32kf32
key_f33kf33
key_f34kf34
key_f35kf35
key_f36kf36
key_f37kf37
key_f38kf38
key_f39kf39
key_f40kf40
key_f41kf41
key_f42kf42
key_f43kf43
key_f44kf44
key_f45kf45
key_f46kf46
key_f47kf47
key_f48kf48
key_f49kf49
key_f50kf50
key_f51kf51
key_f52kf52
key_f53kf53
key_f54kf54
key_f55kf55
key_f56kf56
key_f57kf57
key_f58kf58
key_f59kf59
key_f60kf60
key_f61kf61
key_f62kf62
key_f63kf63
clr_bolel1
clear_marginsmgc
set_left_marginsmgl
set_right_marginsmgr
label_formatfln
set_clocksclk
display_clockdclk
remove_clockrmclk
create_windowcwin
goto_windowwingo
hanguphup
dial_phonedial
quick_dialqdial
tonetone
pulsepulse
flash_hookhook
fixed_pausepause
wait_tonewait
user0u0
user1u1
user2u2
user3u3
user4u4
user5u5
user6u6
user7u7
user8u8
user9u9
orig_pairop
orig_colorsoc
initialize_colorinitc
initialize_pairinitp
set_color_pairscp
set_foregroundsetf
set_backgroundsetb
change_char_pitchcpi
change_line_pitchlpi
change_res_horzchr
change_res_vertcvr
define_chardefc
enter_doublewide_modeswidm
enter_draft_qualitysdrfq
enter_italics_modesitm
enter_leftward_modeslm
enter_micro_modesmicm
enter_near_letter_qualitysnlq
enter_normal_qualitysnrmq
enter_shadow_modesshm
enter_subscript_modessubm
enter_superscript_modessupm
enter_upward_modesum
exit_doublewide_moderwidm
exit_italics_moderitm
exit_leftward_moderlm
exit_micro_modermicm
exit_shadow_modershm
exit_subscript_modersubm
exit_superscript_modersupm
exit_upward_moderum
micro_column_addressmhpa
micro_downmcud1
micro_leftmcub1
micro_rightmcuf1
micro_row_addressmvpa
micro_upmcuu1
order_of_pinsporder
parm_down_micromcud
parm_left_micromcub
parm_right_micromcuf
parm_up_micromcuu
select_char_setscs
set_bottom_marginsmgb
set_bottom_margin_parmsmgbp
set_left_margin_parmsmglp
set_right_margin_parmsmgrp
set_top_marginsmgt
set_top_margin_parmsmgtp
start_bit_imagesbim
start_char_set_defscsd
stop_bit_imagerbim
stop_char_set_defrcsd
subscript_characterssubcs
superscript_characterssupcs
these_cause_crdocr
zero_motionzerom
char_set_namescsnm
key_mousekmous
mouse_infominfo
req_mouse_posreqmp
get_mousegetm
set_a_foregroundsetaf
set_a_backgroundsetab
pkey_plabpfxl
device_typedevt
code_set_initcsin
set0_des_seqs0ds
set1_des_seqs1ds
set2_des_seqs2ds
set3_des_seqs3ds
set_lr_marginsmglr
set_tb_marginsmgtb
bit_image_repeatbirep
bit_image_newlinebinel
bit_image_carriage_returnbicr
color_namescolornm
define_bit_image_regiondefbi
end_bit_image_regionendbi
set_color_bandsetcolor
set_page_lengthslines
display_pc_chardispc
enter_pc_charset_modesmpch
exit_pc_charset_modermpch
enter_scancode_modesmsc
exit_scancode_modermsc
pc_term_optionspctrm
scancode_escapescesc
alt_scancode_escscesa
enter_horizontal_hl_modeehhlm
enter_left_hl_modeelhlm
enter_low_hl_modeelohlm
enter_right_hl_modeerhlm
enter_top_hl_modeethlm
enter_vertical_hl_modeevhlm
set_a_attributessgr1
set_pglen_inchslength
termcap_init2OTi2
termcap_resetOTrs
linefeed_if_not_lfOTnl
backspace_if_not_bsOTbs_s
other_non_function_keysOTko
arrow_key_mapOTma
acs_ulcornerOTG2
acs_llcornerOTG3
acs_urcornerOTG1
acs_lrcornerOTG4
acs_lteeOTGR
acs_rteeOTGL
acs_bteeOTGU
acs_tteeOTGD
acs_hlineOTGH
acs_vlineOTGV
acs_plusOTGC
memory_lockmeml
memory_unlockmemu
box_chars_1box1

Implementations

impl String[src]

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

The String capabilitiy name corresponding to the string name.

pub fn iter() -> StrIter[src]

An iterator over the predefined string 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 String[src]

impl Copy for String[src]

impl Debug for String[src]

impl Index<String> for Desc[src]

type Output = [u8]

The returned type after indexing.

fn index(&self, idx: String) -> &[u8][src]

The value of the string capability named by index.

Auto Trait Implementations

impl RefUnwindSafe for String

impl Send for String

impl Sync for String

impl Unpin for String

impl UnwindSafe for String

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.