MCPcopy Create free account

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

Functions941 in github.com/Lutetium-Vanadium/requestty

Methodfrom
(code: KeyCode)
requestty-ui/src/events/keys.rs:30
Methodfrom
(v: Vec<OrderSelectItem>)
src/answer.rs:217
Methodfrom
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/password.rs:331
Methodfrom
Consumes the builder returning a [`Question`]
src/question/custom_prompt.rs:222
Methodfrom
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/confirm.rs:244
Methodfrom
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/editor.rs:392
Methodfrom
(f: F)
src/question/options.rs:176
Methodfrom
(s: I)
src/question/choice.rs:276
Methodfrom
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/expand/builder.rs:360
Methodfrom
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/raw_select/builder.rs:344
Methodfrom
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/select/builder.rs:323
Methodfrom
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/input/builder.rs:265
Methodfrom
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/order_select/builder.rs:270
Methodfrom
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/multi_select/builder.rs:415
Methodfrom_iter
(iter: T)
src/answer.rs:312
Methodfrom_iter
(iter: I)
src/question/choice.rs:150
Methodfrom_lines
Creates a new `TestBackend` from the lines. There must be `<= size.height` lines, and `<= size.width` chars per line. It is not necessary to fill the
requestty-ui/src/backend/test_backend.rs:119
Methodget_at
Gets the location of the 'cursor' in characters.
requestty-ui/src/string_input.rs:79
Methodget_cursor_pos
(&mut self)
requestty-ui/src/backend/crossterm.rs:78
Methodget_cursor_pos
(&mut self)
requestty-ui/src/backend/termion.rs:200
Methodget_cursor_pos
(&mut self)
requestty-ui/src/backend/test_backend.rs:324
Methodget_cursor_pos
(&mut self)
tests/helpers/mod.rs:67
Methodgreen
(self)
requestty-ui/src/style.rs:223
Methodgrey
(self)
requestty-ui/src/style.rs:273
Methodhandle_key
This widget does not handle any events
requestty-ui/src/text.rs:117
Methodhandle_key
(&mut self, _: events::KeyEvent)
requestty-ui/src/prompt.rs:217
Methodhandle_key
(&mut self, key: KeyEvent)
requestty-ui/src/char_input.rs:61
Methodhandle_key
This widget does not handle any events
requestty-ui/src/widgets.rs:125
Methodhandle_key
(&mut self, key: KeyEvent)
requestty-ui/src/select/mod.rs:470
Methodhandle_key
(&mut self, key: KeyEvent)
src/question/password.rs:74
Methodhandle_key
(&mut self, _: ui::events::KeyEvent)
src/question/editor.rs:94
Methodhandle_key
(&mut self, key: ui::events::KeyEvent)
src/question/choice.rs:262
Methodhandle_key
(&mut self, key: KeyEvent)
src/question/expand/mod.rs:43
Methodhandle_key
(&mut self, key: KeyEvent)
src/question/raw_select/mod.rs:88
Methodhandle_key
(&mut self, key: KeyEvent)
src/question/select/mod.rs:72
Methodhandle_key
(&mut self, mut key: KeyEvent)
src/question/input/mod.rs:172
Methodhandle_key
(&mut self, key: ui::events::KeyEvent)
src/question/order_select/mod.rs:226
Methodhandle_key
(&mut self, key: KeyEvent)
src/question/multi_select/mod.rs:103
Methodheight
Calculates the height the text will take. This can trigger a recomputation.
requestty-ui/src/text.rs:105
Methodheight
(&mut self, layout: &mut Layout)
requestty-ui/src/prompt.rs:203
Methodheight
(&mut self, layout: &mut Layout)
requestty-ui/src/char_input.rs:91
Methodheight
Does not allow multi-line strings. If a multi-line string is required, use the [`Text`] widget.
requestty-ui/src/widgets.rs:113
Methodheight
(&mut self, layout: &mut ui::layout::Layout)
src/question/password.rs:70
Methodheight
(&mut self, layout: &mut ui::layout::Layout)
src/question/confirm.rs:31
Methodheight
(&mut self, layout: &mut ui::layout::Layout)
src/question/editor.rs:80
Methodheight
(&mut self, layout: &mut ui::layout::Layout)
src/question/select/mod.rs:64
Methodheight_at
(&mut self, index: usize, mut layout: ui::layout::Layout)
src/question/choice.rs:136
Methodheight_at
(&mut self, index: usize, mut layout: ui::layout::Layout)
src/question/expand/mod.rs:255
Methodheight_at
(&mut self, index: usize, mut layout: ui::layout::Layout)
src/question/raw_select/mod.rs:169
Methodheight_at
(&mut self, index: usize, layout: ui::layout::Layout)
src/question/select/mod.rs:92
Methodheight_at
(&mut self, index: usize, mut layout: ui::layout::Layout)
src/question/order_select/mod.rs:104
Methodheight_at
(&mut self, index: usize, mut layout: ui::layout::Layout)
src/question/multi_select/mod.rs:176
Methodhidden
(self)
requestty-ui/src/style.rs:415
Methodhide_cursor
(&mut self)
requestty-ui/src/backend/crossterm.rs:70
Methodhide_cursor
(&mut self)
requestty-ui/src/backend/termion.rs:192
Methodhide_cursor
(&mut self)
requestty-ui/src/backend/mod.rs:192
Methodhide_cursor
(&mut self)
requestty-ui/src/backend/test_backend.rs:314
Methodhide_cursor
(&mut self)
tests/helpers/mod.rs:59
Methodhint
Get the hint
requestty-ui/src/prompt.rs:92
Methodindex
(&self, index: usize)
src/question/choice.rs:88
Methodindex_mut
(&mut self, index: usize)
src/question/choice.rs:94
Methodinitial_index
The index of the choice in the initial list. This is not the index rendered aside on the screen.
src/question/order_select/mod.rs:265
Methodinput
Prompt that takes user input and returns a [`String`] <img src="https://raw.githubusercontent.com/lutetium-vanadium/requestty/master/assets/input.gif
src/question/mod.rs:135
Methodint
Prompt that takes a [`i64`] as input. The number is parsed using [`from_str`]. <img src="https://raw.githubusercontent.com/lutetium-vanadium/request
src/question/mod.rs:258
Methodinto_answers
Consumes `self` returning the answers to the previously asked questions.
src/prompt_module.rs:106
Methodinto_hint
Consume self returning the owned hint
requestty-ui/src/prompt.rs:107
Methodinto_message
Consume self returning the owned message
requestty-ui/src/prompt.rs:102
Methodinto_message_and_hint
Consume self returning the owned message and hint
requestty-ui/src/prompt.rs:112
Methodis_bool
Returns `true` if the answer is [`Answer::Bool`].
src/answer.rs:156
Methodis_expand_item
Returns `true` if the answer is [`Answer::ExpandItem`].
src/answer.rs:93
Methodis_float
Returns `true` if the answer is [`Answer::Float`].
src/answer.rs:135
Methodis_int
Returns `true` if the answer is [`Answer::Int`].
src/answer.rs:114
Methodis_list_item
Returns `true` if the answer is [`Answer::ListItem`].
src/answer.rs:72
Methodis_list_items
Returns `true` if the answer is [`Answer::ListItems`].
src/answer.rs:177
Methodis_selectable
(&self, _: usize)
src/question/expand/mod.rs:251
Methodis_selectable
(&self, index: usize)
src/question/raw_select/mod.rs:165
Methodis_selectable
(&self, index: usize)
src/question/select/mod.rs:88
Methodis_selectable
(&self, _index: usize)
src/question/order_select/mod.rs:92
Methodis_string
Returns `true` if the answer is [`Answer::String`].
src/answer.rs:51
Methoditalic
(self)
requestty-ui/src/style.rs:400
Methodlen
(&self)
src/question/select/mod.rs:96
Functionletter_and_numbers
(password: &str, ans: &requestty::Answers)
examples/password.rs:7
Methodlight_blue
(self)
requestty-ui/src/style.rs:238
Methodlight_cyan
(self)
requestty-ui/src/style.rs:258
Methodlight_magenta
(self)
requestty-ui/src/style.rs:248
Methodlight_red
(self)
requestty-ui/src/style.rs:208
Methodlight_yellow
(self)
requestty-ui/src/style.rs:228
Functionmain
()
tests/macros/confirm/filter.rs:1
Functionmain
()
tests/macros/confirm/should_loop.rs:1
Functionmain
()
tests/macros/confirm/auto_complete.rs:1
Functionmain
()
tests/macros/confirm/validate_on_key.rs:1
Functionmain
()
tests/macros/confirm/extension.rs:1
Functionmain
()
tests/macros/confirm/choices.rs:1
Functionmain
()
tests/macros/confirm/validate.rs:1
Functionmain
()
tests/macros/confirm/prompt.rs:1
Functionmain
()
tests/macros/confirm/valid.rs:1
Functionmain
()
tests/macros/confirm/mask.rs:1
Functionmain
()
tests/macros/confirm/page_size.rs:1
Functionmain
()
tests/macros/confirm/editor.rs:1
Functionmain
()
tests/macros/password/should_loop.rs:1
← previousnext →401–500 of 941, ranked by callers