Struct kernel::scheduler::round_robin::RoundRobinProcessNode
source · 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<'_>>
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