Skip to main content

State

Trait State 

Source
pub trait State {
    type Wordlist: Clone + Debug + PartialEq;
    type Markov: Clone + Debug + PartialEq;
    type Preset: Clone + Debug + PartialEq;
    type Literal: Clone + Debug + PartialEq;
    type Characters: Clone + Debug + PartialEq;
}
Expand description

Stage that a pattern is in, which decides the types that some of its parts have.

Required Associated Types§

Source

type Wordlist: Clone + Debug + PartialEq

Type used to represent wordlists.

Source

type Markov: Clone + Debug + PartialEq

Type used to represent Markov chains.

Source

type Preset: Clone + Debug + PartialEq

Type used to represent presets.

Source

type Literal: Clone + Debug + PartialEq

Type used to represent literals.

Source

type Characters: Clone + Debug + PartialEq

Type used to represent sets of characters.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§