Skip to main content

CodeAlphabetSetters

Trait CodeAlphabetSetters 

Source
pub trait CodeAlphabetSetters: Holds<CodeAlphabet> + Sized {
    // 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§

Source

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

The characters a code is made of, each once.

Source

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§

Source§

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