• Home
  • Raw
  • Download

Lines Matching full:fmt

5 use std::fmt;
45 impl fmt::Debug for LineIndex {
46 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
48 self.0.fmt(f)?; in fmt()
53 impl fmt::Display for LineIndex {
54 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
55 self.0.fmt(f) in fmt()
71 impl fmt::Debug for LineNumber {
72 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
74 self.0.fmt(f)?; in fmt()
79 impl fmt::Display for LineNumber {
80 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
81 self.0.fmt(f) in fmt()
96 impl fmt::Debug for LineOffset {
97 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
99 self.0.fmt(f)?; in fmt()
104 impl fmt::Display for LineOffset {
105 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
106 self.0.fmt(f) in fmt()
140 impl fmt::Debug for ColumnIndex {
141 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
143 self.0.fmt(f)?; in fmt()
148 impl fmt::Display for ColumnIndex {
149 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
150 self.0.fmt(f) in fmt()
159 impl fmt::Debug for ColumnNumber {
160 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
162 self.0.fmt(f)?; in fmt()
167 impl fmt::Display for ColumnNumber {
168 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
169 self.0.fmt(f) in fmt()
184 impl fmt::Debug for ColumnOffset {
185 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
187 self.0.fmt(f)?; in fmt()
192 impl fmt::Display for ColumnOffset {
193 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
194 self.0.fmt(f) in fmt()
216 impl fmt::Debug for ByteIndex {
217 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
219 self.0.fmt(f)?; in fmt()
224 impl fmt::Display for ByteIndex {
225 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
226 self.0.fmt(f) in fmt()
277 impl fmt::Debug for ByteOffset {
278 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
280 self.0.fmt(f)?; in fmt()
285 impl fmt::Display for ByteOffset {
286 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
287 self.0.fmt(f) in fmt()