fn encrypt_char(&mut self, c: char) -> char {
        if !c.is_ascii() || !c.is_alphabetic() {
            return c;
        }

        self.advance();
        self.substitute(c.to_ascii_uppercase())
    }
/// Advances the rotors then returns the substitution of
/// a character, if the input character was alphabetic.
Advances the rotors then returns the substitution of
a character, if the input character was alphabetic.
Advances the rotors then returns the substitution of a character if the input character was alphabetic .
fn encrypt_char(&mut self, c: char) -> char {
        if !c.is_ascii() || !c.is_alphabetic() {
            return c;
        }
        self.advance();
        self.substitute(c.to_ascii_uppercase())
    }
fn encrypt_char ( & mut self , c : char ) -> char { if ! c . is_ascii ( ) || ! c . is_alphabetic ( ) { return c ; } self . advance ( ) ; self . substitute ( c . to_ascii_uppercase ( ) ) }
Advances the rotors then returns the substitution of
a character, if the input character was alphabetic.
Advances the rotors then returns the substitution of a character if the input character was alphabetic .
&mut self
c
char
&mut self
c
char