pub struct Freedom {
pub states: BTreeMap<String, usize>,
pub total: usize,
}Expand description
How free the values of the state are, where they are now (see
freedom).
Fields§
§states: BTreeMap<String, usize>Per value a solve may move, how many independent ways it can still move, the others moving with it as the constraints need.
total: usizeHow many independent ways they can move together.
Trait Implementations§
impl StructuralPartialEq for Freedom
Auto Trait Implementations§
impl Freeze for Freedom
impl RefUnwindSafe for Freedom
impl Send for Freedom
impl Sync for Freedom
impl Unpin for Freedom
impl UnsafeUnpin for Freedom
impl UnwindSafe for Freedom
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