| 10 | use core::fmt; |
| 11 | |
| 12 | pub(super) struct Path<F: Forest> { |
| 13 | /// Number of path entries including the root and leaf nodes. |
| 14 | size: usize, |
| 15 | |
| 16 | /// Path of node references from the root to a leaf node. |
| 17 | node: [Node; MAX_PATH], |
| 18 | |
| 19 | /// Entry number in each node. |
| 20 | entry: [u8; MAX_PATH], |
| 21 | |
| 22 | unused: PhantomData<F>, |
| 23 | } |
| 24 | |
| 25 | impl<F: Forest> Default for Path<F> { |
| 26 | fn default() -> Self { |
no outgoing calls
no test coverage detected