pub struct ResourceArena { /* private fields */ }
Expand description
A list of allocated device resources.
The list will be extended by methods that allocate device resources. The
list must be deallocated via a destroy
method on Vport
or ManaDevice
.
If the arena is dropped without calling destroy
, then device and host
resources will leak.
Implementations§
Trait Implementations§
Source§impl Default for ResourceArena
impl Default for ResourceArena
Source§fn default() -> ResourceArena
fn default() -> ResourceArena
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResourceArena
impl !RefUnwindSafe for ResourceArena
impl Send for ResourceArena
impl Sync for ResourceArena
impl Unpin for ResourceArena
impl !UnwindSafe for ResourceArena
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