Struct r3_core::kernel::event_group::EventGroupDefiner   
source · pub struct EventGroupDefiner<System: KernelEventGroup> { /* private fields */ }Expand description
The definer (static builder) for EventGroupRef.
Implementations§
source§impl<System: KernelEventGroup> EventGroupDefiner<System>
 
impl<System: KernelEventGroup> EventGroupDefiner<System>
sourcepub const fn initial(self, initial: EventGroupBits) -> Self
 
pub const fn initial(self, initial: EventGroupBits) -> Self
Specify the initial bit pattern.
sourcepub const fn queue_order(self, queue_order: QueueOrder) -> Self
 
pub const fn queue_order(self, queue_order: QueueOrder) -> Self
Specify how tasks are sorted in the wait queue of the event group.
Defaults to QueueOrder::TaskPriority when unspecified.
sourcepub const fn finish<C: CfgEventGroup<System = System>>(
    self,
    c: &mut Cfg<'_, C>
) -> StaticEventGroup<System>
 
pub const fn finish<C: CfgEventGroup<System = System>>( self, c: &mut Cfg<'_, C> ) -> StaticEventGroup<System>
Complete the definition of an event group, returning a reference to the event group.