pub struct VariableShare {
pub variable: VertexId,
pub share: f64,
}Expand description
Per-variable share allocated by the planner.
Fields§
§variable: VertexIdVariable receiving this share.
Relative share; larger values receive more block-slice budget.
Trait Implementations§
Source§fn clone(&self) -> VariableShare
fn clone(&self) -> VariableShare
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn eq(&self, other: &VariableShare) -> bool
fn eq(&self, other: &VariableShare) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
Blanket Implementations§
impl<T> Allocation for T
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