Struct generational_cache::arena::Index
source · pub struct Index {
pub generation: u64,
pub idx: usize,
}
Expand description
A generational counter augemented index to track arena allocation entries.
Fields§
§generation: u64
Generation counter.
idx: usize
Trait Implementations§
source§impl PartialEq for Index
impl PartialEq for Index
impl Copy for Index
impl Eq for Index
impl StructuralEq for Index
impl StructuralPartialEq for Index
Auto Trait Implementations§
impl RefUnwindSafe for Index
impl Send for Index
impl Sync for Index
impl Unpin for Index
impl UnwindSafe for Index
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