Skip to main content

PlaceholderFit

Trait PlaceholderFit 

pub trait PlaceholderFit {
    // Required method
    fn placeholder_fit(&self) -> Option<PromptFit>;
}
Expand description

A field that prompts while it holds nothing, reporting what it painted and whether that fit (PromptFit): the prompt a field cannot elide — wrapped in a field that cannot wrap, or run past a field narrower than it — is text a person reads cut off mid-word.

Required Methods§

Implementors§