Struct wasmi_collections::arena::DedupArena
source · pub struct DedupArena<Idx, T> { /* private fields */ }
Expand description
A deduplicating arena allocator with a given index and entity type.
For performance reasons the arena cannot deallocate single entities.
Implementations§
source§impl<Idx, T> DedupArena<Idx, T>
impl<Idx, T> DedupArena<Idx, T>
source§impl<Idx, T> DedupArena<Idx, T>
impl<Idx, T> DedupArena<Idx, T>
Trait Implementations§
source§impl<Idx, T> Default for DedupArena<Idx, T>
impl<Idx, T> Default for DedupArena<Idx, T>
source§impl<Idx, T> FromIterator<T> for DedupArena<Idx, T>
impl<Idx, T> FromIterator<T> for DedupArena<Idx, T>
source§fn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = T>,
fn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = T>,
Creates a value from an iterator. Read more
source§impl<Idx, T> Index<Idx> for DedupArena<Idx, T>where
Idx: ArenaIndex,
impl<Idx, T> Index<Idx> for DedupArena<Idx, T>where
Idx: ArenaIndex,
source§impl<Idx, T> IndexMut<Idx> for DedupArena<Idx, T>where
Idx: ArenaIndex,
impl<Idx, T> IndexMut<Idx> for DedupArena<Idx, T>where
Idx: ArenaIndex,
source§impl<'a, Idx, T> IntoIterator for &'a DedupArena<Idx, T>where
Idx: ArenaIndex,
impl<'a, Idx, T> IntoIterator for &'a DedupArena<Idx, T>where
Idx: ArenaIndex,
source§impl<'a, Idx, T> IntoIterator for &'a mut DedupArena<Idx, T>where
Idx: ArenaIndex,
impl<'a, Idx, T> IntoIterator for &'a mut DedupArena<Idx, T>where
Idx: ArenaIndex,
source§impl<Idx, T> PartialEq for DedupArena<Idx, T>where
T: PartialEq,
impl<Idx, T> PartialEq for DedupArena<Idx, T>where
T: PartialEq,
impl<Idx, T> Eq for DedupArena<Idx, T>where
T: Eq,
Auto Trait Implementations§
impl<Idx, T> Freeze for DedupArena<Idx, T>
impl<Idx, T> RefUnwindSafe for DedupArena<Idx, T>where
Idx: RefUnwindSafe,
T: RefUnwindSafe,
impl<Idx, T> Send for DedupArena<Idx, T>
impl<Idx, T> Sync for DedupArena<Idx, T>
impl<Idx, T> Unpin for DedupArena<Idx, T>
impl<Idx, T> UnwindSafe for DedupArena<Idx, T>where
Idx: UnwindSafe,
T: UnwindSafe,
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