pub struct TaskSlot { /* private fields */ }Implementations§
Source§impl TaskSlot
impl TaskSlot
pub fn new(task_ptr: *mut Task) -> Self
pub fn task_ptr(&self) -> *mut Task
pub fn set_task_ptr(&self, ptr: *mut Task)
pub fn task_ptr_compare_exchange( &self, current: *mut Task, new: *mut Task, ) -> Result<*mut Task, *mut Task>
pub fn clear_task_ptr(&self)
pub fn set_active_task_ptr(&self, ptr: *mut Task)
pub fn active_task_ptr(&self) -> *mut Task
pub fn clear_active_task_ptr(&self)
Auto Trait Implementations§
impl !Freeze for TaskSlot
impl RefUnwindSafe for TaskSlot
impl Send for TaskSlot
impl Sync for TaskSlot
impl Unpin for TaskSlot
impl !UnwindSafe for TaskSlot
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