pub struct PhaseInfo {
pub phase: usize,
pub total_phases: usize,
pub molecule_type: Option<usize>,
}Expand description
Information about the current packing phase.
Fields§
§phase: usize0-based phase index.
total_phases: usizeTotal number of phases (ntype + 1).
molecule_type: Option<usize>If Some(itype), this is a per-type compaction phase.
If None, this is the final all-types phase.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PhaseInfo
impl RefUnwindSafe for PhaseInfo
impl Send for PhaseInfo
impl Sync for PhaseInfo
impl Unpin for PhaseInfo
impl UnsafeUnpin for PhaseInfo
impl UnwindSafe for PhaseInfo
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