Perhaps `(self.chr as char).fmt(f)` ?