pub struct ExactPlan {
pub range: ExactRange,
pub lengths: Vec<usize>,
pub total: usize,
}Expand description
What an exact stage needs: the range of its leaves and the size of its temporaries.
Fields§
§range: ExactRangeThe magnitudes of the leaves for which the stage is valid.
lengths: Vec<usize>The worst-case length of the expansion of each node, in the order of
the graph: 1 or 2 for a leaf (see Leaves), 1 for a nonzero
constant and 0 for zero, l_x + l_y for a sum or difference,
2 l_x l_y for a product and l_x for a negation.
total: usizeThe sum of lengths: the size of all the temporaries, each shared
node counted once.
Trait Implementations§
impl StructuralPartialEq for ExactPlan
Auto Trait Implementations§
impl Forget for ExactPlan
impl Freeze for ExactPlan
impl Move for ExactPlan
impl RefUnwindSafe for ExactPlan
impl Send for ExactPlan
impl Sync for ExactPlan
impl Unpin for ExactPlan
impl UnsafeUnpin for ExactPlan
impl UnwindSafe for ExactPlan
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