pub enum EventId {
Knock,
Open,
Close,
}
Variants§
Implementations§
Source§impl EventId
impl EventId
pub fn transition(&self) -> Transition
Trait Implementations§
Source§impl<'event> From<EventId> for EventParams<'event>
impl<'event> From<EventId> for EventParams<'event>
impl Eq for EventId
impl StructuralPartialEq for EventId
Auto Trait Implementations§
impl Freeze for EventId
impl RefUnwindSafe for EventId
impl Send for EventId
impl Sync for EventId
impl Unpin for EventId
impl UnwindSafe for EventId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more