pub struct ScopeResourceInventory {
pub scope: ScopeId,
pub resources: Vec<ResourceKey>,
}Expand description
Deterministic resource inventory for a scope.
Fields§
§scope: ScopeIdScope being inspected.
resources: Vec<ResourceKey>Resources currently owned by the scope.
Trait Implementations§
Source§impl Clone for ScopeResourceInventory
impl Clone for ScopeResourceInventory
Source§fn clone(&self) -> ScopeResourceInventory
fn clone(&self) -> ScopeResourceInventory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScopeResourceInventory
impl Debug for ScopeResourceInventory
impl Eq for ScopeResourceInventory
Source§impl PartialEq for ScopeResourceInventory
impl PartialEq for ScopeResourceInventory
Source§fn eq(&self, other: &ScopeResourceInventory) -> bool
fn eq(&self, other: &ScopeResourceInventory) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScopeResourceInventory
Auto Trait Implementations§
impl Freeze for ScopeResourceInventory
impl RefUnwindSafe for ScopeResourceInventory
impl Send for ScopeResourceInventory
impl Sync for ScopeResourceInventory
impl Unpin for ScopeResourceInventory
impl UnsafeUnpin for ScopeResourceInventory
impl UnwindSafe for ScopeResourceInventory
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