# Objective - I wanted to store a Ptr in a struct of mine that has a `#[derive(Debug)]` and I noticed that the Ptrs don't implement Debug, even though the underlying `NonNull<u8>` does ## Solution - Add `#[derive(Debug)]` |
||
|---|---|---|
| .. | ||
| lib.rs | ||
# Objective - I wanted to store a Ptr in a struct of mine that has a `#[derive(Debug)]` and I noticed that the Ptrs don't implement Debug, even though the underlying `NonNull<u8>` does ## Solution - Add `#[derive(Debug)]` |
||
|---|---|---|
| .. | ||
| lib.rs | ||