Struct rustc_metadata::rmeta::table::TableBuilder
source · pub(super) struct TableBuilder<I: Idx, T>where
Option<T>: FixedSizeEncoding,{
blocks: IndexVec<I, <Option<T> as FixedSizeEncoding>::ByteArray>,
_marker: PhantomData<T>,
}
Expand description
Helper for constructing a table’s serialization (also see Table
).
Fields§
§blocks: IndexVec<I, <Option<T> as FixedSizeEncoding>::ByteArray>
§_marker: PhantomData<T>
Implementations§
source§impl<I: Idx, T> TableBuilder<I, T>where
Option<T>: FixedSizeEncoding,
impl<I: Idx, T> TableBuilder<I, T>where
Option<T>: FixedSizeEncoding,
Trait Implementations§
Auto Trait Implementations§
impl<I, T> !RefUnwindSafe for TableBuilder<I, T>
impl<I, T> !Send for TableBuilder<I, T>
impl<I, T> !Sync for TableBuilder<I, T>
impl<I, T> !Unpin for TableBuilder<I, T>
impl<I, T> !UnwindSafe for TableBuilder<I, T>
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