/// Get the array capacity size for the given |order|.
Get the array capacity size for the given |order|.
Get the array capacity size for the given |order| .
pub fn array_capacity(order: usize, entry_type: BlockType) -> Option<usize> {
    entry_type.array_element_size().map(|size| {
        (order_to_size(order)
            - constants::HEADER_SIZE_BYTES
            - constants::ARRAY_PAYLOAD_METADATA_SIZE_BYTES)
            / size
    })
}
pub fn array_capacity ( order : usize , entry_type : BlockType ) -> Option < usize > { entry_type . array_element_size ( ) . map ( | size | { ( order_to_size ( order ) - constants :: HEADER_SIZE_BYTES - constants :: ARRAY_PAYLOAD_METADATA_SIZE_BYTES ) / size } ) }
Get the array capacity size for the given |order|.
Get the array capacity size for the given |order| .
order
usize
entry_type
BlockType