pub struct ProgressComplex {
pub n: usize,
pub m: usize,
/* private fields */
}Expand description
The progress complex of two processes of lengths n, m (an n × m grid of cells), with a set of
forbidden cells (the mutual-exclusion region) left unfilled.
Fields§
§n: usize§m: usizeImplementations§
Source§impl ProgressComplex
impl ProgressComplex
pub fn new(n: usize, m: usize, forbidden: &[(usize, usize)]) -> Self
Auto Trait Implementations§
impl Freeze for ProgressComplex
impl RefUnwindSafe for ProgressComplex
impl Send for ProgressComplex
impl Sync for ProgressComplex
impl Unpin for ProgressComplex
impl UnsafeUnpin for ProgressComplex
impl UnwindSafe for ProgressComplex
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