pub enum Event<'a, C, P: Schema, I: Schema> {
ClientConnect(ClientConnectEvent<'a, C>),
AddPlayer(AddPlayerEvent<'a, C, P>),
Inputs(InputsEvent<'a, I>),
Disconnected,
}Variants§
ClientConnect(ClientConnectEvent<'a, C>)
AddPlayer(AddPlayerEvent<'a, C, P>)
Inputs(InputsEvent<'a, I>)
Disconnected
Auto Trait Implementations§
impl<'a, C, P, I> Freeze for Event<'a, C, P, I>
impl<'a, C, P, I> RefUnwindSafe for Event<'a, C, P, I>
impl<'a, C, P, I> Send for Event<'a, C, P, I>
impl<'a, C, P, I> Sync for Event<'a, C, P, I>
impl<'a, C, P, I> Unpin for Event<'a, C, P, I>
impl<'a, C, P, I> !UnwindSafe for Event<'a, C, P, I>
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