[][src]Struct r3::kernel::cfg::CfgEventGroupBuilder

#[must_use = "must call `finish()` to complete registration"]pub struct CfgEventGroupBuilder<System> { /* fields omitted */ }

Configuration builder type for EventGroup.

Implementations

impl<System: Port> CfgEventGroupBuilder<System>[src]

pub const fn initial(self, initial: EventGroupBits) -> Self[src]

Specify the initial bit pattern.

pub const fn queue_order(self, queue_order: QueueOrder) -> Self[src]

Specify how tasks are sorted in the wait queue of the event group. Defaults to QueueOrder::TaskPriority when unspecified.

pub const fn finish(self, cfg: &mut CfgBuilder<System>) -> EventGroup<System>[src]

Complete the definition of an event group, returning a reference to the event group.

Auto Trait Implementations

impl<System> Send for CfgEventGroupBuilder<System> where
    System: Send
[src]

impl<System> Sync for CfgEventGroupBuilder<System> where
    System: Sync
[src]

impl<System> Unpin for CfgEventGroupBuilder<System> where
    System: Unpin
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.