pub struct Group {
pub blocks: Vec<usize>,
pub constraints: Vec<usize>,
pub preferences: Vec<usize>,
pub on: Vec<usize>,
pub layer: usize,
pub component: usize,
pub own: usize,
}Expand description
Blocks a solve works on together, and the terms on them (see
Structure): a core no term ties to another, or a pendant hanging
off blocks of earlier layers.
Fields§
§blocks: Vec<usize>Its blocks, in order: what its variables are, one after another.
constraints: Vec<usize>§preferences: Vec<usize>§on: Vec<usize>The blocks outside it its terms read: what it hangs off. None for a core.
layer: usizeIts layer: none for a core, one past every group it hangs off for a pendant.
component: usizeThe component it is part of, by index (see
Structure::components).
own: usizeFor a pendant, how many ways its terms leave it to move, what it hangs off held.
Trait Implementations§
impl Eq for Group
impl StructuralPartialEq for Group
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnsafeUnpin for Group
impl UnwindSafe for Group
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