[−][src]Function scoped_cell::new
pub fn new<'a, T: ?Sized + 'a>(
value: &'a mut T
) -> ScopedCellCreatorGuard<'a, T>
The guard must not be dropped while a borrow of a related cell is in progress. If this happens, the whole process will be aborted.