Enum arret_runtime::boxed::BoxSize  [−][src]
pub enum BoxSize {
    Size16,
    Size32,
}Size of a boxed value in bytes
Variants
16 byte boxed value
32 byte boxed value
Implementations
impl BoxSize[src]
impl BoxSize[src]pub fn cell_count(self) -> usize[src]
Returns the number of 16 byte cells required by this box size
pub fn to_heap_alloc_type(self) -> AllocType[src]
Returns the corresponding AllocType if this box was allocated on the heap