pub struct PoolLayout {
pub total_size: usize,
pub class_offsets: Vec<ClassOffsets>,
}Expand description
Result of VarSlotPool::layout.
Fields§
§total_size: usizeTotal bytes needed in the region.
class_offsets: Vec<ClassOffsets>Per-class offsets (relative to pool base).
Auto Trait Implementations§
impl Freeze for PoolLayout
impl RefUnwindSafe for PoolLayout
impl Send for PoolLayout
impl Sync for PoolLayout
impl Unpin for PoolLayout
impl UnsafeUnpin for PoolLayout
impl UnwindSafe for PoolLayout
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