pub struct EventDef {
pub kind: &'static str,
pub payload: &'static str,
pub doc: &'static str,
}Expand description
An event kind hosts receive, with its payload shape.
Fields§
§kind: &'static str§payload: &'static str§doc: &'static strAuto Trait Implementations§
impl Freeze for EventDef
impl RefUnwindSafe for EventDef
impl Send for EventDef
impl Sync for EventDef
impl Unpin for EventDef
impl UnsafeUnpin for EventDef
impl UnwindSafe for EventDef
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