(edge: &[u8; 24])
| 122 | } |
| 123 | |
| 124 | fn edge_flags(edge: &[u8; 24]) -> EdgeFlags { |
| 125 | let flag_and_pos = u64::from_le_bytes(edge[0..8].try_into().unwrap()); |
| 126 | EdgeFlags::from_bits_truncate((flag_and_pos >> 56) as u8) |
| 127 | } |
| 128 | |
| 129 | fn edge_dest(edge: &[u8; 24]) -> Position<NodeId> { |
| 130 | let flag_and_pos = u64::from_le_bytes(edge[0..8].try_into().unwrap()); |
no test coverage detected