| 78 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] |
| 79 | #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] |
| 80 | pub struct Allocation { |
| 81 | /// Bit-pack in 32 bits. |
| 82 | /// |
| 83 | /// kind:1 index:31 |
| 84 | /// kind:1 unused:19 reg:12 |
| 85 | bits: u32, |
| 86 | } |
| 87 | |
| 88 | impl fmt::Debug for Allocation { |
| 89 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
nothing calls this directly
no outgoing calls
no test coverage detected