Searched refs:array_of_arrays (Results 1 – 1 of 1) sorted by relevance
| /linux/rust/zerocopy/src/ |
| H A D | macros.rs | 1275 let array_of_arrays = [[0, 1], [2, 3], [4, 5], [6, 7]]; in test_transmute() localVariable 1277 assert_eq!(x, array_of_arrays); in test_transmute() 1278 let x: [u8; 8] = transmute!(array_of_arrays); in test_transmute() 1333 let array_of_arrays = [[0, 1], [2, 3], [4, 5], [6, 7]]; in test_transmute_ref() localVariable 1335 assert_eq!(*x, array_of_arrays); in test_transmute_ref() 1336 let x: &[u8; 8] = transmute_ref!(&array_of_arrays); in test_transmute_ref() 1348 let array_of_arrays = [[0, 1], [2, 3], [4, 5], [6, 7]]; in test_transmute_ref() localVariable 1349 let slice_of_arrays = &array_of_arrays[..]; in test_transmute_ref() 1436 let array_of_arrays = [[0, 1], [0, 1], [0, 1], [0, 1]]; in test_try_transmute() localVariable 1438 assert_eq!(x, Ok(array_of_arrays)); in test_try_transmute() [all …]
|