[−][src]Struct finny::EventContext
The context that is given to all of the guards and actions.
Fields
context: &'a mut TFsm::Context
queue: &'a mut Q
Trait Implementations
impl<'a, TFsm, Q> Deref for EventContext<'a, TFsm, Q> where
TFsm: FsmBackend,
Q: FsmEventQueue<TFsm>,
[src]
TFsm: FsmBackend,
Q: FsmEventQueue<TFsm>,
type Target = <TFsm as FsmBackend>::Context
The resulting type after dereferencing.
pub fn deref(&self) -> &Self::Target
[src]
impl<'a, TFsm: FsmBackend, Q> DerefMut for EventContext<'a, TFsm, Q> where
TFsm: FsmBackend,
Q: FsmEventQueue<TFsm>,
[src]
TFsm: FsmBackend,
Q: FsmEventQueue<TFsm>,
Auto Trait Implementations
impl<'a, TFsm, Q> RefUnwindSafe for EventContext<'a, TFsm, Q> where
Q: RefUnwindSafe,
<TFsm as FsmBackend>::Context: RefUnwindSafe,
[src]
Q: RefUnwindSafe,
<TFsm as FsmBackend>::Context: RefUnwindSafe,
impl<'a, TFsm, Q> Send for EventContext<'a, TFsm, Q> where
Q: Send,
<TFsm as FsmBackend>::Context: Send,
[src]
Q: Send,
<TFsm as FsmBackend>::Context: Send,
impl<'a, TFsm, Q> Sync for EventContext<'a, TFsm, Q> where
Q: Sync,
<TFsm as FsmBackend>::Context: Sync,
[src]
Q: Sync,
<TFsm as FsmBackend>::Context: Sync,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow(&self) -> &TⓘNotable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut TⓘNotable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,