Searched refs:array_of_bools (Results 1 – 1 of 1) sorted by relevance
| /linux/rust/zerocopy/src/ |
| H A D | macros.rs | 1435 let array_of_bools = [false, true, false, true, false, true, false, true]; in test_try_transmute() localVariable 1437 let x: Result<[[u8; 2]; 4], _> = try_transmute!(array_of_bools); in test_try_transmute() 1440 assert_eq!(x, Ok(array_of_bools)); in test_try_transmute() 1479 let array_of_bools = &[false, true, false, true, false, true, false, true]; in test_try_transmute_ref() localVariable 1481 let x: Result<&[[u8; 2]; 4], _> = try_transmute_ref!(array_of_bools); in test_try_transmute_ref() 1484 assert_eq!(x, Ok(array_of_bools)); in test_try_transmute_ref() 1489 let x: Result<&[[u8; 2]; 4], _> = try_transmute_ref!(array_of_bools); in test_try_transmute_ref() 1535 let array_of_bools = &mut [false, true, false, true, false, true, false, true]; in test_try_transmute_mut() localVariable 1538 assert_eq!(x, Ok(array_of_bools)); in test_try_transmute_mut() 1542 let array_of_bools = &mut [false, true, false, true, false, true, false, true]; in test_try_transmute_mut() localVariable [all …]
|