[−][src]Struct tinf::cap::Number
Numeric capability names.
The names are used as indices into a Desc
.
Name | Short name |
---|---|
columns | cols |
init_tabs | it |
lines | lines |
lines_of_memory | lm |
magic_cookie_glitch | xmc |
padding_baud_rate | pb |
virtual_terminal | vt |
width_status_line | wsl |
num_labels | nlab |
label_height | lh |
label_width | lw |
max_attributes | ma |
maximum_windows | wnum |
max_colors | colors |
max_pairs | pairs |
no_color_video | ncv |
buffer_capacity | bufsz |
dot_vert_spacing | spinv |
dot_horz_spacing | spinh |
max_micro_address | maddr |
max_micro_jump | mjump |
micro_col_size | mcs |
micro_line_size | mls |
number_of_pins | npins |
output_res_char | orc |
output_res_line | orl |
output_res_horz_inch | orhi |
output_res_vert_inch | orvi |
print_rate | cps |
wide_char_size | widcs |
buttons | btns |
bit_image_entwining | bitwin |
bit_image_type | bitype |
magic_cookie_glitch_ul | UTug |
carriage_return_delay | OTdC |
new_line_delay | OTdN |
backspace_delay | OTdB |
horizontal_tab_delay | OTdT |
number_of_function_keys | OTkn |
Implementations
impl Number
[src]
pub fn named<T: Borrow<str>>(name: T) -> Option<Number>
[src]
The Number
capabilitiy name corresponding to the string
name
.
pub fn iter() -> NumIter
[src]
An iterator over the predefined numeric 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 Number
[src]
impl Copy for Number
[src]
impl Debug for Number
[src]
impl Index<Number> for Desc
[src]
Auto Trait Implementations
impl RefUnwindSafe for Number
impl Send for Number
impl Sync for Number
impl Unpin for Number
impl UnwindSafe for Number
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,