defmt/impls/core_/
slice.rs1use super::*;
2
3impl<'a, T: 'a> Format for core::slice::ChunksExact<'a, T>
4where
5 T: Format,
6{
7 fn format(&self, fmt: Formatter) {
8 crate::write!(fmt, "ChunksExact(..)")
9 }
10}
11
12impl<'a, T: 'a> Format for core::slice::Iter<'a, T>
13where
14 T: Format,
15{
16 fn format(&self, fmt: Formatter) {
17 crate::write!(
18 fmt,
19 "Iter {{ slice: {=[?]}, position: ? }}",
20 self.as_slice()
21 )
22 }
23}
24
25impl<'a, T: 'a> Format for core::slice::Windows<'a, T>
26where
27 T: Format,
28{
29 fn format(&self, fmt: Formatter) {
30 crate::write!(fmt, "Windows(..)")
31 }
32}