[][src]Struct finny::EventContext

pub struct EventContext<'a, TFsm, Q> where
    TFsm: FsmBackend,
    Q: FsmEventQueue<TFsm>, 
{ pub context: &'a mut TFsm::Context, pub queue: &'a mut Q, }

The context that is given to all of the guards and actions.

Fields

context: &'a mut TFsm::Contextqueue: &'a mut Q

Trait Implementations

impl<'a, TFsm, Q> Deref for EventContext<'a, TFsm, Q> where
    TFsm: FsmBackend,
    Q: FsmEventQueue<TFsm>, 
[src]

type Target = <TFsm as FsmBackend>::Context

The resulting type after dereferencing.

impl<'a, TFsm: FsmBackend, Q> DerefMut for EventContext<'a, TFsm, Q> where
    TFsm: FsmBackend,
    Q: FsmEventQueue<TFsm>, 
[src]

Auto Trait Implementations

impl<'a, TFsm, Q> RefUnwindSafe for EventContext<'a, TFsm, Q> where
    Q: RefUnwindSafe,
    <TFsm as FsmBackend>::Context: RefUnwindSafe
[src]

impl<'a, TFsm, Q> Send for EventContext<'a, TFsm, Q> where
    Q: Send,
    <TFsm as FsmBackend>::Context: Send
[src]

impl<'a, TFsm, Q> Sync for EventContext<'a, TFsm, Q> where
    Q: Sync,
    <TFsm as FsmBackend>::Context: Sync
[src]

impl<'a, TFsm, Q> Unpin for EventContext<'a, TFsm, Q>[src]

impl<'a, TFsm, Q> !UnwindSafe for EventContext<'a, TFsm, Q>[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.