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
sourceimpl<I: Idx, T> TableBuilder<I, T>where
Option<T>: FixedSizeEncoding,
impl<I: Idx, T> TableBuilder<I, T>where
Option<T>: FixedSizeEncoding,
Trait Implementations
sourceimpl<I: Idx, T> Default for TableBuilder<I, T>where
Option<T>: FixedSizeEncoding,
impl<I: Idx, T> Default for TableBuilder<I, T>where
Option<T>: FixedSizeEncoding,
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
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