pub struct ProcessArray<const NUM_PROCS: usize> { /* private fields */ }
Expand description
Storage for a fixed-size array of Process
es.
Implementations§
Source§impl<const NUM_PROCS: usize> ProcessArray<NUM_PROCS>
impl<const NUM_PROCS: usize> ProcessArray<NUM_PROCS>
pub const fn new() -> Self
pub fn as_slice(&self) -> &[ProcessSlot]
Trait Implementations§
Auto Trait Implementations§
impl<const NUM_PROCS: usize> !Freeze for ProcessArray<NUM_PROCS>
impl<const NUM_PROCS: usize> !RefUnwindSafe for ProcessArray<NUM_PROCS>
impl<const NUM_PROCS: usize> !Send for ProcessArray<NUM_PROCS>
impl<const NUM_PROCS: usize> !Sync for ProcessArray<NUM_PROCS>
impl<const NUM_PROCS: usize> Unpin for ProcessArray<NUM_PROCS>
impl<const NUM_PROCS: usize> !UnwindSafe for ProcessArray<NUM_PROCS>
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