1 | use core::marker::PhantomData; |
---|---|
2 | |
3 | /// Handle to a defmt logger. |
4 | #[derive(Copy, Clone)] |
5 | pub struct Formatter<'a> { |
6 | pub(crate) _phantom: PhantomData<&'a ()>, |
7 | } |
8 | |
9 | /// An interned string created via [`intern!`]. |
10 | /// |
11 | /// [`intern!`]: macro.intern.html |
12 | #[derive(Clone, Copy)] |
13 | pub struct Str { |
14 | /// 16-bit address |
15 | pub(crate) address: u16, |
16 | } |
17 |