1use crate::enigma_int::FromEnigmaInt; 2 3use super::Rotor; 4 5impl Rotor { 6 pub fn get_position(&self) -> char { 7 // Position is added during encoding ;) 8 self.encode(0).from_internal_int() 9 } 10}