pub struct PriorityComponent<CAP: ProcessManagementCapability> { /* private fields */ }Implementations§
Source§impl<CAP: ProcessManagementCapability> PriorityComponent<CAP>
impl<CAP: ProcessManagementCapability> PriorityComponent<CAP>
Trait Implementations§
Source§impl<CAP: ProcessManagementCapability + 'static> Component for PriorityComponent<CAP>
impl<CAP: ProcessManagementCapability + 'static> Component for PriorityComponent<CAP>
Source§type StaticInput = &'static mut MaybeUninit<PrioritySched<CAP>>
type StaticInput = &'static mut MaybeUninit<PrioritySched<CAP>>
An optional type to specify the chip or board specific static memory
that a component needs to setup the output object(s). This is the memory
that
crate::static_buf!() would normally setup, but generic
components cannot setup static buffers for types which are
chip-dependent, so those buffers have to be passed in manually, and the
Component::StaticInput type makes this possible.Source§type Output = &'static mut PrioritySched<CAP>
type Output = &'static mut PrioritySched<CAP>
The type (e.g., capsule, peripheral) that this implementation of
Component produces via Component::finalize(). This is typically
a static reference (&'static).Source§fn finalize(self, static_buffer: Self::StaticInput) -> Self::Output
fn finalize(self, static_buffer: Self::StaticInput) -> Self::Output
Auto Trait Implementations§
impl<CAP> Freeze for PriorityComponent<CAP>where
CAP: Freeze,
impl<CAP> !RefUnwindSafe for PriorityComponent<CAP>
impl<CAP> !Send for PriorityComponent<CAP>
impl<CAP> !Sync for PriorityComponent<CAP>
impl<CAP> Unpin for PriorityComponent<CAP>where
CAP: Unpin,
impl<CAP> !UnwindSafe for PriorityComponent<CAP>
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