plasmo 0.4.3

TUI-based renderer for Dioxus
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::text_like::{TextLike, TextLikeController};

pub(crate) type Password = TextLike<PasswordController>;

#[derive(Debug, Default)]
pub(crate) struct PasswordController;

impl TextLikeController for PasswordController {
    fn display_text(&self, text: &str) -> String {
        text.chars().map(|_| '.').collect()
    }
}