Lines Matching refs:fmt

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