(kind: &str)
| 129 | } |
| 130 | |
| 131 | pub fn edge_kind_index(kind: &str) -> Option<u8> { |
| 132 | EDGE_KINDS.iter().position(|k| *k == kind).map(|i| i as u8) |
| 133 | } |
| 134 | |
| 135 | /// (offset, len) arena reference. `NONE_STR` encodes an absent field. |
| 136 | pub type StrRef = (u32, u32); |
no outgoing calls
no test coverage detected