use crate::depot::queue::{indexed::shared, links};
pub mod phase;
pub mod raw;
pub mod set;
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum Bounds {
Slot { index: usize, capacity: usize },
Lane { index: usize, capacity: usize },
}
impl From<shared::Bounds> for Bounds {
fn from(cause: shared::Bounds) -> Self {
Self::Slot {
index: cause.index,
capacity: cause.capacity,
}
}
}
#[derive(Clone, Copy, Debug)]
#[repr(C)]
pub(in crate::depot::queue::round) struct Position {
pub lane: links::Index,
pub index: links::Index,
}
pub mod values;