pub struct TopologyPlan {
pub reuse: Vec<Option<usize>>,
pub retire: Vec<usize>,
}Expand description
Per-new-slot decision for a topology refresh of the draw-object BLAS head.
Fields§
§reuse: Vec<Option<usize>>reuse[j] == Some(k): new draw slot j reuses the old draw BLAS at index
k (its geometry is unchanged). None: build a fresh BLAS for slot j.
retire: Vec<usize>Old draw BLAS indices no longer referenced by any new slot – retire them.
Auto Trait Implementations§
impl Freeze for TopologyPlan
impl RefUnwindSafe for TopologyPlan
impl Send for TopologyPlan
impl Sync for TopologyPlan
impl Unpin for TopologyPlan
impl UnsafeUnpin for TopologyPlan
impl UnwindSafe for TopologyPlan
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