Searched defs:lazycell (Results 1 – 3 of 3) sorted by relevance
355 let lazycell: LazyCell<usize> = LazyCell::new(); in test_borrow_from_empty() localVariable366 let lazycell = LazyCell::new(); in test_fill_and_borrow() localVariable381 let mut lazycell = LazyCell::new(); in test_borrow_mut() localVariable397 let lazycell = LazyCell::new(); in test_already_filled_error() localVariable405 let lazycell = LazyCell::new(); in test_borrow_with() localVariable413 let lazycell = LazyCell::new(); in test_borrow_with_already_filled() localVariable422 let lazycell = LazyCell::new(); in test_borrow_with_not_called_when_filled() localVariable435 let lazycell: LazyCell<Box<i32>> = LazyCell::new(); in test_borrow_with_sound_with_reentrancy() localVariable448 let mut lazycell = LazyCell::new(); in test_borrow_mut_with() localVariable460 let mut lazycell = LazyCell::new(); in test_borrow_mut_with_already_filled() localVariable[all …]
7 let lazycell = LazyCell::new(); in test_lazycell() localVariable21 let lazycell: LazyCell<usize> = LazyCell::new(); in test_already_filled_error() localVariable
1 # lazycell chapter