Trait chbs::component::traits::WordStyler [−][src]
pub trait WordStyler: HasEntropy + Debug { fn style_word(&self, word: String) -> String; }
Something that provides logic to style each passphrase word. This could be used to build a styler for word capitalization.
Required Methods
fn style_word(&self, word: String) -> String
Style the given word
.
Implementors
impl WordStyler for WordCapitalizer