Question : rust impl display
Answered by : wideeyed-walrus-kruwzfbhouii
impl fmt::Display for SomeStruct { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "{}", self.0) }
}
Source : | Last Update : Tue, 11 May 21
Answered by : wideeyed-walrus-kruwzfbhouii
impl fmt::Display for SomeStruct { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "{}", self.0) }
}
Source : | Last Update : Tue, 11 May 21