defmt/impls/core_/
alloc_.rs

1use core::alloc;
2
3use super::*;
4
5impl Format for alloc::Layout {
6    fn format(&self, fmt: Formatter) {
7        crate::write!(
8            fmt,
9            "Layout {{ size: {}, align: {} }}",
10            self.size(),
11            self.align()
12        );
13    }
14}