Struct rustc_arena::TypedArenaChunk [−][src]
pub(crate) struct TypedArenaChunk<T> {
storage: Box<[MaybeUninit<T>]>,
entries: usize,
}
Fields
storage: Box<[MaybeUninit<T>]>
The raw storage for the arena chunk.
entries: usize
The number of valid entries in the chunk.
Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for TypedArenaChunk<T> where
T: RefUnwindSafe,
impl<T> Send for TypedArenaChunk<T> where
T: Send,
impl<T> Sync for TypedArenaChunk<T> where
T: Sync,
impl<T> Unpin for TypedArenaChunk<T>
impl<T> UnwindSafe for TypedArenaChunk<T> where
T: UnwindSafe,
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes