pub struct ReturnStorageTotals {
pub root_bytes: usize,
pub array_element_bytes: usize,
pub string_payload_code_units: usize,
pub string_storage_code_units: usize,
pub string_storage_bytes: usize,
pub total_bytes: usize,
pub allocation_count: usize,
}Expand description
Exact future ABI storage totals for the chosen Prompt 05 layout.
total_bytes is exactly the sum of initialized ABI root, array-element,
and counted-string storage. It excludes Rust container headers and allocator
bookkeeping, which are allocator-dependent and are not claimed as heap cost.
Fields§
§root_bytes: usizeBytes for the root XLOPER12.
array_element_bytes: usizeBytes for xltypeMulti element roots.
string_payload_code_units: usizeTotal string payload UTF-16 code units.
string_storage_code_units: usizeTotal counted-string allocation code units, including prefixes.
string_storage_bytes: usizeBytes occupied by all counted-string allocations.
total_bytes: usizeSum of ABI storage, excluding Rust allocator bookkeeping.
allocation_count: usizeNumber of backing allocations selected by the plan.
Trait Implementations§
Source§impl Clone for ReturnStorageTotals
impl Clone for ReturnStorageTotals
impl Copy for ReturnStorageTotals
Source§impl Debug for ReturnStorageTotals
impl Debug for ReturnStorageTotals
impl Eq for ReturnStorageTotals
Source§impl PartialEq for ReturnStorageTotals
impl PartialEq for ReturnStorageTotals
impl StructuralPartialEq for ReturnStorageTotals
Auto Trait Implementations§
impl Freeze for ReturnStorageTotals
impl RefUnwindSafe for ReturnStorageTotals
impl Send for ReturnStorageTotals
impl Sync for ReturnStorageTotals
impl Unpin for ReturnStorageTotals
impl UnsafeUnpin for ReturnStorageTotals
impl UnwindSafe for ReturnStorageTotals
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