1 2 3 4 5 6 7 8 9 10 11 12 13
use core::fmt; use std::fmt::Display; use super::Diagonal; impl<T> Display for Diagonal<T> where T: Display, { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { self.matrix.fmt(f) } }