[][src]Trait chbs::component::traits::WordStyler

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.

Loading content...

Implementors

impl WordStyler for WordCapitalizer[src]

Loading content...