pub struct PrefixPathLayouts {
pub path_body: usize,
pub node_body: usize,
pub pool_entry: usize,
pub pool_body: usize,
pub iterator_body: usize,
pub assumed_rc_header: usize,
}Expand description
Concrete layouts, excluding allocator rounding. The Rc header estimate is explicit so a requested-allocation probe can verify it for its toolchain.
Fields§
§path_body: usizeInline PrefixPath body size, excluding its optional outer Rc allocation.
node_body: usizeInline immutable node body size, excluding Rc counts.
pool_entry: usizeKey and weak value payload size; excludes hash control/capacity overhead.
pool_body: usizePool struct size, excluding its hash allocation.
iterator_body: usizeIterator stack body size, excluding a deep ancestry spill.
assumed_rc_header: usizeTwo word-sized Rc counts; verify requested allocation layout separately.
Trait Implementations§
Source§impl Clone for PrefixPathLayouts
impl Clone for PrefixPathLayouts
Source§fn clone(&self) -> PrefixPathLayouts
fn clone(&self) -> PrefixPathLayouts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PrefixPathLayouts
Source§impl Debug for PrefixPathLayouts
impl Debug for PrefixPathLayouts
Auto Trait Implementations§
impl Freeze for PrefixPathLayouts
impl RefUnwindSafe for PrefixPathLayouts
impl Send for PrefixPathLayouts
impl Sync for PrefixPathLayouts
impl Unpin for PrefixPathLayouts
impl UnsafeUnpin for PrefixPathLayouts
impl UnwindSafe for PrefixPathLayouts
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