pub struct CpuPlan { /* private fields */ }Expand description
A graph lowered for one bucket.
Implementations§
Source§impl CpuPlan
impl CpuPlan
Sourcepub fn arena_bytes(&self) -> usize
pub fn arena_bytes(&self) -> usize
Arena size in bytes.
Sourcepub fn dump(&mut self)
pub fn dump(&mut self)
Keeps a copy of what every step writes from now on, for finding the first step where two runs differ. It allocates on every run, so it is for tests and debugging only.
Sourcepub fn dumps(&self) -> &[Dump]
pub fn dumps(&self) -> &[Dump]
What every step wrote in the last run since CpuPlan::dump, in order.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CpuPlan
impl Freeze for CpuPlan
impl Send for CpuPlan
impl Sync for CpuPlan
impl Unpin for CpuPlan
impl UnsafeUnpin for CpuPlan
impl UnwindSafe for CpuPlan
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