pub struct Freedom {
pub blocks: Vec<usize>,
pub total: usize,
}Expand description
How free the blocks are (see System::freedom).
Fields§
§blocks: Vec<usize>Per block, 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