[][src]Struct libbruteforce::symbols::Builder

pub struct Builder { /* fields omitted */ }

This is a builder to help you in a convenient way to build a alphabet based on common chars built-in into the library.

This builder is optional and not required to build a alphabet for the lib.

Implementations

impl Builder[src]

pub fn new() -> Builder[src]

Creates a new empty builder instance.

pub fn full(self) -> Builder[src]

Shorthand for all possible symbols.

pub fn with_digits(self) -> Builder[src]

Digits 0 to 9

pub fn with_letters(self) -> Builder[src]

Letters A-z. Shorthand for with_lc_letters() and with_uc_letters().

pub fn with_umlauts(self) -> Builder[src]

Letters ÄÖÜäöü. Shorthand for with_lc_umlauts() and with_uc_umlauts().

pub fn with_uc_letters(self) -> Builder[src]

Letters A-Z

pub fn with_lc_letters(self) -> Builder[src]

Letters a-z

pub fn with_uc_umlauts(self) -> Builder[src]

Letters ÄÖÜ

pub fn with_lc_umlauts(self) -> Builder[src]

Letters äöü

pub fn with_common_special_chars(self) -> Builder[src]

Common special chars on QWERTZ layout, see COMMON_SPECIAL_CHARS.

pub fn with_all_other_special_chars(self) -> Builder[src]

Other special chars on QWERTZ layout, see ALL_OTHER_SPECIAL_CHARS.

pub fn with_all_special_chars(self) -> Builder[src]

Shorthand for with_all_other_special_chars and with_common_special_chars.

pub fn build(self) -> Box<[char]>[src]

Builds the alphabet.

pub fn is_empty(&self) -> bool[src]

Auto Trait Implementations

impl RefUnwindSafe for Builder

impl Send for Builder

impl Sync for Builder

impl Unpin for Builder

impl UnwindSafe for Builder

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.