Enum msfs::sim_connect::SimConnectRecv
source · pub enum SimConnectRecv<'a> {
Null,
Exception(&'a SIMCONNECT_RECV_EXCEPTION),
Open(&'a SIMCONNECT_RECV_OPEN),
Quit(&'a SIMCONNECT_RECV_QUIT),
Event(&'a SIMCONNECT_RECV_EVENT),
EventEx1(&'a SIMCONNECT_RECV_EVENT_EX1),
SimObjectData(&'a SIMCONNECT_RECV_SIMOBJECT_DATA),
ClientData(&'a SIMCONNECT_RECV_CLIENT_DATA),
AssignedObjectId(&'a SIMCONNECT_RECV_ASSIGNED_OBJECT_ID),
}
Expand description
Message received from SimConnect.
Variants§
Null
Exception(&'a SIMCONNECT_RECV_EXCEPTION)
Open(&'a SIMCONNECT_RECV_OPEN)
Quit(&'a SIMCONNECT_RECV_QUIT)
Event(&'a SIMCONNECT_RECV_EVENT)
EventEx1(&'a SIMCONNECT_RECV_EVENT_EX1)
SimObjectData(&'a SIMCONNECT_RECV_SIMOBJECT_DATA)
ClientData(&'a SIMCONNECT_RECV_CLIENT_DATA)
AssignedObjectId(&'a SIMCONNECT_RECV_ASSIGNED_OBJECT_ID)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SimConnectRecv<'a>
impl<'a> RefUnwindSafe for SimConnectRecv<'a>
impl<'a> Send for SimConnectRecv<'a>
impl<'a> Sync for SimConnectRecv<'a>
impl<'a> Unpin for SimConnectRecv<'a>
impl<'a> UnwindSafe for SimConnectRecv<'a>
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