pub struct Storage(pub Bump);Expand description
Holds data for a ScopeGraph. Required to construct a ScopeGraph.
A ScopeGraph will use the storage object to allocate in,
and lifetimes of items in the scope graph will be tied to an instance of Storage.
Tuple Fields§
§0: BumpImplementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Storage
impl !RefUnwindSafe for Storage
impl Send for Storage
impl !Sync for Storage
impl Unpin for Storage
impl !UnwindSafe for Storage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more