Skip to main content

CodeAlphabetSetters

Trait CodeAlphabetSetters 

pub trait CodeAlphabetSetters: Sized + Holds<CodeAlphabet> {
    // Required methods
    fn chars(self, value: impl Into<String>) -> Self;
    fn len(self, value: usize) -> Self;
}
Expand description

The typed setters of CodeAlphabet, for any builder that holds its settings.

Required Methods§

fn chars(self, value: impl Into<String>) -> Self

The characters a code is made of, each once.

fn len(self, value: usize) -> Self

How many characters a code has.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

§

impl<__B> CodeAlphabetSetters for __B
where __B: Holds<CodeAlphabet>,