MCPcopy Create free account

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

Functions941 in github.com/Lutetium-Vanadium/requestty

↓ 3 callersMethodexit
(&mut self)
requestty-ui/src/input.rs:251
↓ 3 callersFunctionget_backend
(buf: W)
requestty-ui/src/backend/mod.rs:10
↓ 3 callersFunctionget_events
()
requestty-ui/src/events/mod.rs:25
↓ 3 callersMethodget_remaining_default
Returns the remaining default text if the current input is a substring of it
src/question/input/mod.rs:86
↓ 3 callersFunctionget_sep_str
(separator: &Choice<T>)
src/question/choice.rs:235
↓ 3 callersMethodhandle_key
(&mut self, key: KeyEvent)
src/question/confirm.rs:35
↓ 3 callersFunctioninputs
(answers: &Answers)
src/question/input/tests.rs:10
↓ 3 callersMethodmagenta
(self)
requestty-ui/src/style.rs:253
↓ 3 callersMethodmaybe_select_op
(&mut self, op: F)
src/question/input/mod.rs:62
↓ 3 callersMethodmove_cursor
(&mut self, direction: backend::MoveDirection)
tests/helpers/mod.rs:75
↓ 3 callersMethodparse
(input: syn::parse::ParseStream)
requestty-macro/src/lib.rs:48
↓ 3 callersFunctionprompt
()
examples/game.rs:8
↓ 3 callersFunctionprompt_all
(questions: impl IntoIterator<Item = Question<'a>>)
tests/question.rs:32
↓ 3 callersMethodrender
Renders the Text moving to the next line after its done. This can trigger a recomputation. In case the text cannot be fully rendered, [`layout.render_
requestty-ui/src/text.rs:68
↓ 3 callersMethodrender
( &mut self, layout: &mut ui::layout::Layout, backend: &mut B, )
src/question/expand/mod.rs:27
↓ 3 callersMethodtry_into_expand_item
Returns the `Ok(ExpandItem)` if it is one, otherwise returns itself as an [`Err`].
src/answer.rs:106
↓ 3 callersMethodupdate_size
(&mut self)
requestty-ui/src/input.rs:126
↓ 3 callersMethodviewport
(&self)
requestty-ui/src/backend/test_backend.rs:146
↓ 3 callersMethodwith_delim
Sets the hint delimiter
requestty-ui/src/prompt.rs:81
↓ 3 callersMethodwith_selectable
(mut self, selectable: Vec<bool>)
requestty-ui/src/select/tests.rs:36
↓ 2 callersMethodas_bool
Returns [`Some`] if it is [`Answer::Bool`], otherwise returns [`None`].
src/answer.rs:161
↓ 2 callersMethodas_str
(&self)
requestty-macro/src/question.rs:42
↓ 2 callersMethodask
( self, answers: &Answers, b: &mut B, events: &mut I, )
src/question/mod.rs:532
↓ 2 callersMethodbold
(self)
requestty-ui/src/style.rs:380
↓ 2 callersMethodbuild
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/expand/builder.rs:341
↓ 2 callersMethodcheck_complete_default
(&mut self)
src/question/input/mod.rs:99
↓ 2 callersMethodchoice_with_default
Inserts a [`Choice`] with a given text and default checked state. See [`multi_select`] for more information. [`Choice`]: crate::question::Choice::Ch
src/question/multi_select/builder.rs:185
↓ 2 callersMethoddark_grey
(self)
requestty-ui/src/style.rs:203
↓ 2 callersMethoddefault
Set a default index for the select The given index will be hovered in the beginning. If `default` is unspecified, the first [`Choice`] will be hover
src/question/select/builder.rs:133
↓ 2 callersFunctiondefault_move_cursor
( backend: &mut B, direction: MoveDirection, )
requestty-ui/src/backend/mod.rs:145
↓ 2 callersMethoddefault_separator
Inserts a [`DefaultSeparator`] See [`expand`] for more information. [`DefaultSeparator`]: crate::question::Choice::DefaultSeparator [`expand`]: crat
src/question/expand/builder.rs:262
↓ 2 callersMethoddiff
Gets the attribute diff that needs to be applied to transition from the attributes in `self` to the attributes in `to`.
requestty-ui/src/style.rs:119
↓ 2 callersFunctionfill
(text: &str, layout: Layout)
requestty-ui/src/text.rs:137
↓ 2 callersMethodfind_word_left
Returns the byte index of the start of the first word to the left (< byte_i)
requestty-ui/src/string_input.rs:142
↓ 2 callersMethodfind_word_right
Returns the byte index of the start of the first word to the right (> byte_i)
requestty-ui/src/string_input.rs:150
↓ 2 callersMethodflush
(&mut self)
requestty-ui/src/input.rs:159
↓ 2 callersMethodget_cursor_pos
(&mut self)
requestty-ui/src/backend/mod.rs:198
↓ 2 callersMethodgoto_last_line
(&mut self, height: u16)
requestty-ui/src/input.rs:215
↓ 2 callersMethodheight
(&mut self, layout: &mut ui::layout::Layout)
src/question/expand/mod.rs:35
↓ 2 callersMethodheight
(&mut self, layout: &mut ui::layout::Layout)
src/question/raw_select/mod.rs:81
↓ 2 callersMethodinit
(&mut self)
requestty-ui/src/input.rs:138
↓ 2 callersFunctioninsert_non_dup_parse
( ident: syn::Ident, item: &mut Option<T>, input: syn::parse::ParseStream, parser: fn(syn::par
requestty-macro/src/helpers.rs:27
↓ 2 callersMethodinto_confirm_prompt
(self, message: &'a str)
src/question/confirm.rs:77
↓ 2 callersMethodinto_prompt
(self, message: &'a str)
src/question/raw_select/mod.rs:193
↓ 2 callersMethodis_choice
Returns `true` if the choice is a [`Choice::Choice`].
src/question/choice.rs:190
↓ 2 callersMethodlen
(&self)
src/question/order_select/mod.rs:109
↓ 2 callersMethodlight_green
(self)
requestty-ui/src/style.rs:218
↓ 2 callersFunctionmake_into
(expr: syn::Expr)
requestty-macro/src/helpers.rs:183
↓ 2 callersFunctionmake_multi_select_tuple
For multi_select, defaults can be given for each option, this method, takes option (`choice`), and the default value to put (`default`), and produces
requestty-macro/src/helpers.rs:232
↓ 2 callersFunctionmap_err
(err: io::Error)
src/question/editor.rs:99
↓ 2 callersFunctionmap_reset
(c: Color, to: Color)
requestty-ui/src/backend/test_backend.rs:416
↓ 2 callersMethodmax_height
(&mut self, layout: Layout)
requestty-ui/src/text.rs:49
↓ 2 callersMethodmaybe_adjust_page
Adjust the page if required considering the direction we moved to
requestty-ui/src/select/mod.rs:376
↓ 2 callersMethodmove_cursor
(&mut self, direction: MoveDirection)
requestty-ui/src/backend/mod.rs:204
↓ 2 callersMethodnext_selectable
(&self)
requestty-ui/src/select/mod.rs:154
↓ 2 callersFunctionparse_char
(mut c: char, mut modifiers: super::KeyModifiers)
requestty-ui/src/events/termion.rs:93
↓ 2 callersMethodprev_selectable
(&self)
requestty-ui/src/select/mod.rs:174
↓ 2 callersFunctionprint_mask
(len: usize, mask: char, w: &mut W)
requestty-ui/src/string_input.rs:370
↓ 2 callersMethodprompt_all_with
Prompt all remaining questions with the given [`Backend`] and [`EventIterator`]. It consumes `self` and returns the answers to all the questions aske
src/prompt_module.rs:89
↓ 2 callersMethodprompt_with
Prompt a single question with the given [`Backend`] and [`EventIterator`]. This may or may not actually prompt the question based on what `when` and
src/prompt_module.rs:55
↓ 2 callersMethodput_char
(&mut self, c: char)
requestty-ui/src/backend/test_backend.rs:206
↓ 2 callersMethodrender
(&mut self, layout: &mut Layout, backend: &mut B)
requestty-ui/src/char_input.rs:82
↓ 2 callersMethodrender
(&mut self, layout: &mut ui::layout::Layout, b: &mut B)
src/question/raw_select/mod.rs:73
↓ 2 callersMethodrender_choice
( &mut self, index: Option<usize>, mut layout: ui::layout::Layout, b: &mut B,
src/question/expand/mod.rs:286
↓ 2 callersMethodrender_cutoff_msg
(&mut self)
requestty-ui/src/input.rs:182
↓ 2 callersMethodrender_in
Renders the lines in a given iterator
requestty-ui/src/select/mod.rs:415
↓ 2 callersMethodselected
(&mut self)
src/question/expand/mod.rs:75
↓ 2 callersMethodselected_mut
Returns a mutable reference to the currently hovered item.
requestty-ui/src/select/mod.rs:464
↓ 2 callersMethodseparator
Inserts a [`Separator`] with the given text See [`expand`] for more information. [`Separator`]: crate::question::Choice::Separator [`expand`]: crate
src/question/expand/builder.rs:238
↓ 2 callersMethodset_attributes
(&mut self, attributes: Attributes)
requestty-ui/src/backend/mod.rs:171
↓ 2 callersMethodset_attributes
(&mut self, attributes: Attributes)
requestty-ui/src/backend/test_backend.rs:287
↓ 2 callersMethodset_bg
(&mut self, color: Color)
requestty-ui/src/backend/mod.rs:177
↓ 2 callersMethodset_bg
(&mut self, color: Color)
requestty-ui/src/backend/test_backend.rs:297
↓ 2 callersMethodset_bg
(&mut self, color: style::Color)
tests/helpers/mod.rs:45
↓ 2 callersMethodset_default
Set the choice list's default.
src/question/choice.rs:69
↓ 2 callersMethodset_fg
(&mut self, color: Color)
requestty-ui/src/backend/test_backend.rs:292
↓ 2 callersFunctionset_seperators_false
(selected: &mut [bool], choices: &[Choice<Text<String>>])
src/question/multi_select/mod.rs:30
↓ 2 callersMethodshow_cursor
(&mut self)
requestty-ui/src/backend/mod.rs:195
↓ 2 callersMethodsub_y
(&mut self, y: u16)
requestty-ui/src/backend/test_backend.rs:175
↓ 2 callersMethodtext
The content of the choice -- it is what is displayed to the user
src/question/order_select/mod.rs:270
↓ 2 callersMethodto_linear
(self, width: u16)
requestty-ui/src/backend/test_backend.rs:38
↓ 2 callersMethodwidth
The character length of the fully rendered prompt
requestty-ui/src/prompt.rs:134
↓ 2 callersMethodwith_optional_hint
Sets the hint
requestty-ui/src/prompt.rs:73
↓ 2 callersMethodword_iter
Get the word bound iterator for a given range
requestty-ui/src/string_input.rs:135
↓ 2 callersMethodwrite_main_opts
(&self, tokens: &mut TokenStream)
requestty-macro/src/question.rs:327
↓ 2 callersMethodwrite_to_backend
Writes all the cells of the `TestBackend` to the given backend. A screenshot of what the printed output looks like: ![](https://raw.githubuserconten
requestty-ui/src/backend/test_backend.rs:429
↓ 1 callersMethodadd_x
(&mut self, x: u16)
requestty-ui/src/backend/test_backend.rs:160
↓ 1 callersMethodas_list_item
Returns [`Some`] if it is a [`Answer::ListItem`], otherwise returns [`None`].
src/answer.rs:77
↓ 1 callersMethodassertion_failed
(&self, other: &Self)
requestty-ui/src/backend/test_backend.rs:235
↓ 1 callersMethodat_outside_page
Checks whether the page bounds need to be adjusted This returns true if at == page_start || at == page_end, and so even though it is visible, the pag
requestty-ui/src/select/mod.rs:234
↓ 1 callersFunctionauto_complete
(p: String)
examples/file_auto_complete.rs:7
↓ 1 callersMethodbuild
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/password.rs:322
↓ 1 callersMethodbuild
Consumes the builder returning a [`Question`]
src/question/custom_prompt.rs:215
↓ 1 callersMethodbuild
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/confirm.rs:235
↓ 1 callersMethodbuild
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/raw_select/builder.rs:318
↓ 1 callersMethodbuild
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/select/builder.rs:305
↓ 1 callersMethodbuild
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/input/builder.rs:256
↓ 1 callersMethodbuild
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/order_select/builder.rs:255
↓ 1 callersMethodbuild
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/multi_select/builder.rs:403
↓ 1 callersFunctionchar_width
(c: char)
requestty-ui/src/char_input.rs:111
← previousnext →101–200 of 941, ranked by callers