pub enum RuntimeEventPayload {
Show 13 variants
CameraChange(RuntimeEventCameraChange),
LoadingFailed(RuntimeEventLoadingFailed),
RenderFrame(RuntimeEventRenderFrame),
StyleImage(RuntimeEventStyleImage),
TileAction(RuntimeEventTileAction),
SourceChanged(RuntimeEventSourceChanged),
OfflineRegionStatus(RuntimeEventOfflineRegionStatus),
OfflineRegionResponseError(RuntimeEventOfflineRegionResponseError),
OfflineRegionTileCountLimit(RuntimeEventOfflineRegionTileCountLimit),
Glyphs(RuntimeEventGlyphs),
Sprite(RuntimeEventSprite),
Empty,
Unknown(u32),
}Expand description
The details of an event, in the member that its payload_type names.
See mln_runtime_event_payload in the
C API reference.
Variants§
CameraChange(RuntimeEventCameraChange)
LoadingFailed(RuntimeEventLoadingFailed)
RenderFrame(RuntimeEventRenderFrame)
StyleImage(RuntimeEventStyleImage)
TileAction(RuntimeEventTileAction)
SourceChanged(RuntimeEventSourceChanged)
OfflineRegionStatus(RuntimeEventOfflineRegionStatus)
OfflineRegionResponseError(RuntimeEventOfflineRegionResponseError)
OfflineRegionTileCountLimit(RuntimeEventOfflineRegionTileCountLimit)
Glyphs(RuntimeEventGlyphs)
Sprite(RuntimeEventSprite)
Empty
Unknown(u32)
Trait Implementations§
Source§impl Clone for RuntimeEventPayload
impl Clone for RuntimeEventPayload
Source§fn clone(&self) -> RuntimeEventPayload
fn clone(&self) -> RuntimeEventPayload
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 moreSource§impl Debug for RuntimeEventPayload
impl Debug for RuntimeEventPayload
Source§impl Default for RuntimeEventPayload
impl Default for RuntimeEventPayload
Source§impl PartialEq for RuntimeEventPayload
impl PartialEq for RuntimeEventPayload
impl StructuralPartialEq for RuntimeEventPayload
Auto Trait Implementations§
impl Freeze for RuntimeEventPayload
impl RefUnwindSafe for RuntimeEventPayload
impl Send for RuntimeEventPayload
impl Sync for RuntimeEventPayload
impl Unpin for RuntimeEventPayload
impl UnsafeUnpin for RuntimeEventPayload
impl UnwindSafe for RuntimeEventPayload
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more