pub struct EventInfo {
pub plane: &'static str,
pub name: &'static str,
pub address: &'static str,
pub pre: Option<&'static str>,
pub key: Option<&'static str>,
pub shape: Shape,
}Expand description
An event type’s descriptor: its plane and name, addresses and payload shape.
Fields§
§plane: &'static strIts place in the tree: player/session, block, client/ui…
name: &'static str§address: &'static str§pre: Option<&'static str>§key: Option<&'static str>§shape: ShapeAuto Trait Implementations§
impl Freeze for EventInfo
impl RefUnwindSafe for EventInfo
impl Send for EventInfo
impl Sync for EventInfo
impl Unpin for EventInfo
impl UnsafeUnpin for EventInfo
impl UnwindSafe for EventInfo
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