pub fn key_settings(&self) -> String {
        self.rotors()
            .map(|r| ((r.key_setting as u8) + b'A') as char)
            .collect()
    }
/// Returns a string representing the `Enigma`'s key settings.
///
/// # Examples
///
/// ```
/// use ultra::Enigma;
///
/// let enigma = Enigma::new("123", "ABC", "DEF", 'B', "PY");
/// assert_eq!(enigma.key_settings(), "ABC");
/// ```
Returns a string representing the `Enigma`'s key settings.
Returns a string representing the ` Enigma ` ' s key settings .
pub fn key_settings(&self) -> String {
        self.rotors()
            .map(|r| ((r.key_setting as u8) + b'A') as char)
            .collect()
    }
pub fn key_settings ( & self ) -> String { self . rotors ( ) . map ( | r | ( ( r . key_setting as u8 ) + b'A' ) as char ) . collect ( ) }
Returns a string representing the `Enigma`'s key settings.
Returns a string representing the ` Enigma ` ' s key settings .
&self
&self
examples
```
use ultra::Enigma.


` ` ` use ultra :: Enigma .