pub struct DependencyIndex<T> { /* private fields */ }Expand description
A typed index into one of DependencyContext’s side tables.
T identifies the target table without adding runtime storage. Keeping
rare payloads behind an index prevents them from determining the size of
every Dependency value.
Implementations§
Trait Implementations§
Source§impl<T> Clone for DependencyIndex<T>
impl<T> Clone for DependencyIndex<T>
impl<T> Copy for DependencyIndex<T>
Source§impl<T: Debug> Debug for DependencyIndex<T>
impl<T: Debug> Debug for DependencyIndex<T>
impl<T: Eq> Eq for DependencyIndex<T>
Source§impl<T: Hash> Hash for DependencyIndex<T>
impl<T: Hash> Hash for DependencyIndex<T>
Source§impl<T: PartialEq> PartialEq for DependencyIndex<T>
impl<T: PartialEq> PartialEq for DependencyIndex<T>
impl<T: PartialEq> StructuralPartialEq for DependencyIndex<T>
Auto Trait Implementations§
impl<T> Freeze for DependencyIndex<T>
impl<T> RefUnwindSafe for DependencyIndex<T>
impl<T> Send for DependencyIndex<T>
impl<T> Sync for DependencyIndex<T>
impl<T> Unpin for DependencyIndex<T>
impl<T> UnsafeUnpin for DependencyIndex<T>
impl<T> UnwindSafe for DependencyIndex<T>
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