Searched defs:lazycell (Results 1 – 2 of 2) sorted by relevance
373 let lazycell: LazyCell<usize> = LazyCell::new(); in test_borrow_from_empty() localVariable384 let lazycell = LazyCell::new(); in test_fill_and_borrow() localVariable399 let mut lazycell = LazyCell::new(); in test_borrow_mut() localVariable415 let lazycell = LazyCell::new(); in test_already_filled_error() localVariable423 let lazycell = LazyCell::new(); in test_borrow_with() localVariable431 let lazycell = LazyCell::new(); in test_borrow_with_already_filled() localVariable440 let lazycell = LazyCell::new(); in test_borrow_with_not_called_when_filled() localVariable453 let lazycell: LazyCell<Box<i32>> = LazyCell::new(); in test_borrow_with_sound_with_reentrancy() localVariable466 let mut lazycell = LazyCell::new(); in test_borrow_mut_with() localVariable478 let mut lazycell = LazyCell::new(); in test_borrow_mut_with_already_filled() localVariable[all …]
1 # lazycell chapter