pub struct ArrayPlan {
pub slice_count: usize,
pub slice_bytes: usize,
pub image: Plan,
pub peak_charge: u64,
}Expand description
Length-only array plan, with a bound for retained images and the list.
Fields§
§slice_count: usizePython range’s count (also for a non-divisible data size).
slice_bytes: usizem_DataSize // m_Depth, including mip tails.
image: PlanEach slice’s final image.
peak_charge: u64Upper bound for retained output, table, and one decoder’s scratch.
Trait Implementations§
impl Copy for ArrayPlan
impl Eq for ArrayPlan
impl StructuralPartialEq for ArrayPlan
Auto Trait Implementations§
impl Forget for ArrayPlan
impl Freeze for ArrayPlan
impl Move for ArrayPlan
impl RefUnwindSafe for ArrayPlan
impl Send for ArrayPlan
impl Sync for ArrayPlan
impl Unpin for ArrayPlan
impl UnsafeUnpin for ArrayPlan
impl UnwindSafe for ArrayPlan
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