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