MCPcopy Create free account

hub / github.com/Lutetium-Vanadium/requestty / functions

Functions941 in github.com/Lutetium-Vanadium/requestty

Methodon_light_red
(self)
requestty-ui/src/style.rs:299
Methodon_light_yellow
(self)
requestty-ui/src/style.rs:319
Methodon_magenta
(self)
requestty-ui/src/style.rs:344
Methodon_red
(self)
requestty-ui/src/style.rs:304
Methodon_rgb
(self, r: u8, g: u8, b: u8)
requestty-ui/src/style.rs:369
Methodon_white
(self)
requestty-ui/src/style.rs:359
Methodon_yellow
(self)
requestty-ui/src/style.rs:324
Functiononly_yn
(c: char)
src/question/confirm.rs:45
Methodorder_select
Prompt that allows the user to organize a list of options. The choices are [`String`]s and can be multiline. <img src="https://raw.githubusercontent
src/question/mod.rs:464
Methodpage_size
(&self)
requestty-ui/src/select/tests.rs:65
Methodpage_size
Get a reference to the choice list's page size.
src/question/choice.rs:59
Methodpage_size
(&self)
src/question/expand/mod.rs:269
Methodpage_size
The maximum height that can be taken by the expanded list If the total height exceeds the page size, the list will be scrollable. The `page_size` mu
src/question/expand/builder.rs:156
Methodpage_size
(&self)
src/question/raw_select/mod.rs:183
Methodpage_size
The maximum height that can be taken by the list If the total height exceeds the page size, the list will be scrollable. The `page_size` must be a m
src/question/raw_select/builder.rs:160
Methodpage_size
(&self)
src/question/select/mod.rs:100
Methodpage_size
The maximum height that can be taken by the list If the total height exceeds the page size, the list will be scrollable. The `page_size` must be a m
src/question/select/builder.rs:157
Methodpage_size
The maximum height that can be taken by the [`auto_complete`] selection list If the total height exceeds the page size, the list will be scrollable.
src/question/input/builder.rs:157
Methodpage_size
(&self)
src/question/order_select/mod.rs:96
Methodpage_size
The maximum height that can be taken by the list If the total height exceeds the page size, the list will be scrollable. The `page_size` must be a m
src/question/order_select/builder.rs:125
Methodpage_size
(&self)
src/question/multi_select/mod.rs:185
Methodpage_size
The maximum height that can be taken by the list If the total height exceeds the page size, the list will be scrollable. The `page_size` must be a m
src/question/multi_select/builder.rs:121
Methodparse
(input: syn::parse::ParseStream)
requestty-macro/src/question.rs:121
Methodparse_choice
(input: syn::parse::ParseStream)
requestty-macro/src/helpers.rs:98
Functionparse_col
(s: &str)
examples/input.rs:6
Methodparse_impl
( input: syn::parse::ParseStream, parser: fn(syn::parse::ParseStream) -> syn::Result<Choice>,
requestty-macro/src/helpers.rs:82
Functionparse_multi_select_choice
(input: syn::parse::ParseStream)
requestty-macro/src/helpers.rs:252
Methodparse_multi_select_choice
(input: syn::parse::ParseStream)
requestty-macro/src/helpers.rs:102
Methodparse_order_select_choice
(input: syn::parse::ParseStream)
requestty-macro/src/helpers.rs:106
Methodpassword
A helper that sets mask if mask is some, otherwise hides the output
requestty-ui/src/string_input.rs:71
Functionprint_comma_separated
( iter: impl Iterator<Item = &'a str>, b: &mut B, )
src/question/order_select/mod.rs:156
Functionprint_comma_separated
( iter: impl Iterator<Item = &'a str>, b: &mut B, )
src/question/multi_select/mod.rs:239
Functionprompt
(questions: Q)
src/lib.rs:241
Functionquestions
(item: TokenStream)
requestty-macro/src/lib.rs:29
Methodrapid_blink
(self)
requestty-ui/src/style.rs:410
Methodraw_select
Prompt that allows the user to select from a list of options with indices The choices are represented with the [`Choice`] enum. [`Choice::Choice`] ca
src/question/mod.rs:399
Methodrender
Does not allow multi-line strings. If the string requires more than a single line, it adds cuts it short and adds '...' to the end. If a multi-line s
requestty-ui/src/widgets.rs:72
Methodrender
(&mut self, layout: &mut ui::layout::Layout, b: &mut B)
src/question/password.rs:54
Methodrender
(&mut self, layout: &mut ui::layout::Layout, b: &mut B)
src/question/confirm.rs:26
Methodrender
( &mut self, layout: &mut ui::layout::Layout, backend: &mut B, )
src/question/editor.rs:72
Methodrender
(&mut self, layout: &mut ui::layout::Layout, b: &mut B)
src/question/select/mod.rs:59
Methodrender
(&mut self, layout: &mut ui::layout::Layout, b: &mut B)
src/question/input/mod.rs:114
Methodrender_item
( &mut self, index: usize, hovered: bool, mut layout: ui::layout::Layout,
src/question/choice.rs:100
Methodrender_item
( &mut self, index: usize, _: bool, layout: ui::layout::Layout, b: &mu
src/question/expand/mod.rs:229
Methodrender_item
( &mut self, index: usize, hovered: bool, mut layout: ui::layout::Layout,
src/question/raw_select/mod.rs:127
Methodrender_item
( &mut self, index: usize, hovered: bool, layout: ui::layout::Layout,
src/question/select/mod.rs:78
Methodrender_item
( &mut self, index: usize, hovered: bool, mut layout: ui::layout::Layout,
src/question/order_select/mod.rs:55
Methodrender_item
( &mut self, index: usize, hovered: bool, mut layout: ui::layout::Layout,
src/question/multi_select/mod.rs:132
Methodreverse
(self)
requestty-ui/src/style.rs:390
Methodrgb
(self, r: u8, g: u8, b: u8)
requestty-ui/src/style.rs:278
Methodscroll
(&mut self, dist: i16)
requestty-ui/src/backend/crossterm.rs:102
Methodscroll
(&mut self, dist: i16)
requestty-ui/src/backend/termion.rs:222
Methodscroll
(&mut self, dist: i16)
requestty-ui/src/backend/test_backend.rs:353
Methodscroll
(&mut self, dist: i16)
tests/helpers/mod.rs:79
Methodselect
Prompt that allows the user to select from a list of options The choices are represented with the [`Choice`] enum. [`Choice::Choice`] can be multi-li
src/question/mod.rs:364
Methodselected
Returns a reference to the currently hovered item.
requestty-ui/src/select/mod.rs:457
Methodseparator
Inserts a [`Separator`] with the given text. See [`raw_select`] for more information. [`Separator`]: crate::question::Choice::Separator [`raw_select
src/question/raw_select/builder.rs:226
Methodseparator
Inserts a [`Separator`] with the given text See [`select`] for more information. [`Separator`]: crate::question::Choice::Separator [`select`]: crate
src/question/select/builder.rs:222
Methodseparator
Inserts a [`Separator`] with the given text See [`multi_select`] for more information. [`Separator`]: crate::question::Choice::Separator [`multi_sel
src/question/multi_select/builder.rs:210
Methodset_attributes
(&mut self, attributes: Attributes)
requestty-ui/src/backend/crossterm.rs:46
Methodset_attributes
(&mut self, attributes: Attributes)
requestty-ui/src/backend/termion.rs:82
Methodset_attributes
(&mut self, attributes: style::Attributes)
tests/helpers/mod.rs:37
Methodset_bg
(&mut self, color: Color)
requestty-ui/src/backend/crossterm.rs:56
Methodset_bg
(&mut self, color: Color)
requestty-ui/src/backend/termion.rs:92
Methodset_fg
(&mut self, color: Color)
requestty-ui/src/backend/crossterm.rs:52
Methodset_fg
(&mut self, color: Color)
requestty-ui/src/backend/termion.rs:88
Methodshould_loop
Get a reference to the choice list's should loop.
src/question/choice.rs:64
Methodshould_loop
(&self)
src/question/expand/mod.rs:273
Methodshould_loop
Whether to wrap around when user gets to the last element. If `should_loop` is not set, it will default to `true`. It will only be used if the user e
src/question/expand/builder.rs:177
Methodshould_loop
(&self)
src/question/raw_select/mod.rs:187
Methodshould_loop
Whether to wrap around when user gets to the last element. If `should_loop` is not set, it will default to `true`. # Examples ``` use requestty::Qu
src/question/raw_select/builder.rs:180
Methodshould_loop
(&self)
src/question/select/mod.rs:104
Methodshould_loop
Whether to wrap around when user gets to the last element. If `should_loop` is not set, it will default to `true`. # Examples ``` use requestty::Qu
src/question/select/builder.rs:177
Methodshould_loop
Whether to wrap around when user gets to the last element. If `should_loop` is not set, it will default to `true`. It will only be used if [`auto_com
src/question/input/builder.rs:180
Methodshould_loop
(&self)
src/question/order_select/mod.rs:100
Methodshould_loop
Whether to wrap around when user gets to the last element. If `should_loop` is not set, it will default to `true`. # Examples ``` use requestty::Qu
src/question/order_select/builder.rs:145
Methodshould_loop
(&self)
src/question/multi_select/mod.rs:189
Methodshould_loop
Whether to wrap around when user gets to the last element. If `should_loop` is not set, it will default to `true`. # Examples ``` use requestty::Qu
src/question/multi_select/builder.rs:141
Methodshow_cursor
(&mut self)
requestty-ui/src/backend/crossterm.rs:74
Methodshow_cursor
(&mut self)
requestty-ui/src/backend/termion.rs:196
Methodshow_cursor
(&mut self)
requestty-ui/src/backend/test_backend.rs:319
Methodshow_cursor
(&mut self)
tests/helpers/mod.rs:63
Methodsize
(&self)
requestty-ui/src/backend/crossterm.rs:118
Methodsize
(&self)
requestty-ui/src/backend/termion.rs:250
Methodsize
(&self)
requestty-ui/src/backend/test_backend.rs:387
Methodsize
(&self)
tests/helpers/mod.rs:87
Methodslow_blink
(self)
requestty-ui/src/style.rs:405
Methodsource
(&self)
requestty-ui/src/error.rs:20
Functionsplit
(command: &str)
src/question/editor.rs:37
Functiontest_adjust_page
()
requestty-ui/src/select/tests.rs:273
Functiontest_adjust_scrollback
()
requestty-ui/src/input.rs:427
Functiontest_ask_if_answered
()
tests/question.rs:42
Functiontest_at_outside_page
()
requestty-ui/src/select/tests.rs:188
Functiontest_auto_complete
()
tests/input.rs:148
Functiontest_confirm
()
tests/macros.rs:107
Functiontest_cursor_pos
()
requestty-ui/src/string_input.rs:644
Functiontest_cursor_pos
()
requestty-ui/src/prompt.rs:336
Functiontest_cursor_pos
()
requestty-ui/src/char_input.rs:122
Functiontest_cursor_pos
()
src/question/password.rs:414
Functiontest_cursor_pos
()
src/question/confirm.rs:339
← previousnext →701–800 of 941, ranked by callers