Enum macro_machines::example::EventParams
source · [−]pub enum EventParams<'event> {
Knock {},
Open {},
Close {},
_PhantomData(PhantomData<&'event ()>),
}
Variants
Knock
Fields
Open
Fields
Close
Fields
_PhantomData(PhantomData<&'event ()>)
Implementations
sourceimpl<'event> EventParams<'event>
impl<'event> EventParams<'event>
Trait Implementations
sourceimpl<'event> Debug for EventParams<'event>
impl<'event> Debug for EventParams<'event>
sourceimpl<'event> From<EventId> for EventParams<'event>
impl<'event> From<EventId> for EventParams<'event>
sourceimpl<'event> From<EventParams<'event>> for Event<'event>
impl<'event> From<EventParams<'event>> for Event<'event>
sourcefn from(params: EventParams<'event>) -> Self
fn from(params: EventParams<'event>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl<'event> RefUnwindSafe for EventParams<'event>
impl<'event> Send for EventParams<'event>
impl<'event> Sync for EventParams<'event>
impl<'event> Unpin for EventParams<'event>
impl<'event> UnwindSafe for EventParams<'event>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more