pub struct RoundRobinProcessNode<'a> { /* private fields */ }
Expand description
A node in the linked list the scheduler uses to track processes Each node holds a pointer to a slot in the processes array
Implementations§
Source§impl<'a> RoundRobinProcessNode<'a>
impl<'a> RoundRobinProcessNode<'a>
pub fn new( proc: &'static Option<&'static dyn Process>, ) -> RoundRobinProcessNode<'a>
Trait Implementations§
Source§impl<'a> ListNode<'a, RoundRobinProcessNode<'a>> for RoundRobinProcessNode<'a>
impl<'a> ListNode<'a, RoundRobinProcessNode<'a>> for RoundRobinProcessNode<'a>
fn next(&'a self) -> &'a ListLink<'a, RoundRobinProcessNode<'a>>
Auto Trait Implementations§
impl<'a> !Freeze for RoundRobinProcessNode<'a>
impl<'a> !RefUnwindSafe for RoundRobinProcessNode<'a>
impl<'a> !Send for RoundRobinProcessNode<'a>
impl<'a> !Sync for RoundRobinProcessNode<'a>
impl<'a> Unpin for RoundRobinProcessNode<'a>
impl<'a> !UnwindSafe for RoundRobinProcessNode<'a>
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