Lines Matching full:fmt
19 impl ::core::fmt::Debug for $typename {
20 fn fmt(&self, f: &mut ::core::fmt::Formatter) -> Result<(), ::core::fmt::Error> {
21 ::core::fmt::Debug::fmt(&self.id, f)
33 impl ::core::fmt::Debug for $type {
34 fn fmt(&self, f: &mut ::core::fmt::Formatter) -> Result<(), ::core::fmt::Error> {
47 impl ::core::fmt::Debug for $typename {
48 fn fmt(&self, f: &mut ::core::fmt::Formatter) -> Result<(), ::core::fmt::Error> {
56 fmt: &mut core::fmt::Formatter, in write_hex_tuple()
59 ) -> Result<(), ::core::fmt::Error> { in write_hex_tuple()
60 fmt.debug_tuple(type_name) in write_hex_tuple()
67 impl core::fmt::Debug for HexStr<'_> {
68 fn fmt(&self, fmt: &mut core::fmt::Formatter) -> Result<(), core::fmt::Error> { in fmt() method
69 fmt.write_str("\"")?; in fmt()
70 write_hex_bytes(fmt, self.0)?; in fmt()
71 fmt.write_str("\"")?; in fmt()
77 fmt: &mut core::fmt::Formatter, in write_hex_bytes()
79 ) -> Result<(), ::core::fmt::Error> { in write_hex_bytes()
81 write!(fmt, "{:02x}", byte)?; in write_hex_bytes()