Struct chbs::component::word::WordCapitalizer[][src]

pub struct WordCapitalizer { /* fields omitted */ }

A word styler to capitalize passphrase words.

This word styler component capitalizes words for a passphrase in different styles depending on it's configuration. This styler currently supports capitalization of the first character in words and/or passphrase words as a whole.

Methods

impl WordCapitalizer
[src]

Construct the word capitalizer component

Whehter to capitalize the first character or the whole word must be defined using the first and all parameters.

Trait Implementations

impl Debug for WordCapitalizer
[src]

Formats the value using the given formatter. Read more

impl HasEntropy for WordCapitalizer
[src]

Get the entropy value for this whole component. The returned entropy value may be accumulated from various internal entropy sources. Read more

impl WordStyler for WordCapitalizer
[src]

Style the given word.

Auto Trait Implementations