pub enum MSFSEvent<'a> {
PostInstall,
PreInitialize,
PostInitialize,
PreUpdate,
PostUpdate,
PreDraw(&'a sGaugeDrawData),
PostDraw(&'a sGaugeDrawData),
PreKill,
Mouse {
x: f32,
y: f32,
flags: u32,
},
SimConnect(SimConnectRecv<'a>),
}
Expand description
Used in Gauges to dispatch lifetime events, mouse events, and SimConnect events.
Variants§
PostInstall
PreInitialize
PostInitialize
PreUpdate
PostUpdate
PreDraw(&'a sGaugeDrawData)
PostDraw(&'a sGaugeDrawData)
PreKill
Mouse
SimConnect(SimConnectRecv<'a>)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for MSFSEvent<'a>
impl<'a> RefUnwindSafe for MSFSEvent<'a>
impl<'a> Send for MSFSEvent<'a>
impl<'a> Sync for MSFSEvent<'a>
impl<'a> Unpin for MSFSEvent<'a>
impl<'a> UnwindSafe for MSFSEvent<'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