Module console_input::standard

source ·

Functions§

  • Get a standard text input from the user. Appears inline, returns the trimmed user string
  • Get a standard text input from the user. Appears inline. Directly passes the result from str.parse(). If you want to keep prompting until the user submits a value that fits the chosen type
  • Get a standard text input from the user. Unlike get_text_input_as, this function will continue prompting until the user submits a value that fits the chosen type