pub enum TelemetryEvent<'a> {
FrameStart(FrameStartRef<'a>),
FrameEnd,
Paused,
Started,
Configuration(ConfigurationEvent<'a>),
Gameplay(GameplayEvent<'a>),
}Expand description
Safe event payload delivered to TelemetryPlugin::event.
Pointer-bearing SDK structures are converted to lifetime-bound views before application code runs. Events without a payload use unit variants.
Variants§
FrameStart(FrameStartRef<'a>)
FrameEnd
Paused
Started
Configuration(ConfigurationEvent<'a>)
Gameplay(GameplayEvent<'a>)
Trait Implementations§
Source§impl<'a> Clone for TelemetryEvent<'a>
impl<'a> Clone for TelemetryEvent<'a>
Source§fn clone(&self) -> TelemetryEvent<'a>
fn clone(&self) -> TelemetryEvent<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for TelemetryEvent<'a>
Auto Trait Implementations§
impl<'a> !Send for TelemetryEvent<'a>
impl<'a> !Sync for TelemetryEvent<'a>
impl<'a> Freeze for TelemetryEvent<'a>
impl<'a> RefUnwindSafe for TelemetryEvent<'a>
impl<'a> Unpin for TelemetryEvent<'a>
impl<'a> UnsafeUnpin for TelemetryEvent<'a>
impl<'a> UnwindSafe for TelemetryEvent<'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