pub struct ReuseLinearScanAlloc {
pub slots: Vec<(u64, bool)>,
pub assignment: HashMap<u32, usize>,
}Expand description
Reuse analysis linear scan allocator (for scratch buffer assignment)
Fields§
§slots: Vec<(u64, bool)>§assignment: HashMap<u32, usize>Implementations§
Trait Implementations§
Source§impl Debug for ReuseLinearScanAlloc
impl Debug for ReuseLinearScanAlloc
Source§impl Default for ReuseLinearScanAlloc
impl Default for ReuseLinearScanAlloc
Source§fn default() -> ReuseLinearScanAlloc
fn default() -> ReuseLinearScanAlloc
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReuseLinearScanAlloc
impl RefUnwindSafe for ReuseLinearScanAlloc
impl Send for ReuseLinearScanAlloc
impl Sync for ReuseLinearScanAlloc
impl Unpin for ReuseLinearScanAlloc
impl UnsafeUnpin for ReuseLinearScanAlloc
impl UnwindSafe for ReuseLinearScanAlloc
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