Enum RuntimeEventType
#[non_exhaustive]pub enum RuntimeEventType {
Show 23 variants
MapCameraWillChange,
MapCameraIsChanging,
MapCameraDidChange,
MapStyleLoaded,
MapLoadingStarted,
MapLoadingFinished,
MapLoadingFailed,
MapIdle,
MapRenderUpdateAvailable,
MapRenderError,
MapStillImageFinished,
MapStillImageFailed,
MapRenderFrameStarted,
MapRenderFrameFinished,
MapRenderMapStarted,
MapRenderMapFinished,
MapStyleImageMissing,
MapTileAction,
OfflineRegionStatusChanged,
OfflineRegionResponseError,
OfflineRegionTileCountLimitExceeded,
OfflineOperationCompleted,
Unknown(u32),
}Expand description
Runtime event type.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MapCameraWillChange
MapCameraIsChanging
MapCameraDidChange
MapStyleLoaded
MapLoadingStarted
MapLoadingFinished
MapLoadingFailed
MapIdle
MapRenderUpdateAvailable
MapRenderError
MapStillImageFinished
MapStillImageFailed
MapRenderFrameStarted
MapRenderFrameFinished
MapRenderMapStarted
MapRenderMapFinished
MapStyleImageMissing
MapTileAction
OfflineRegionStatusChanged
OfflineRegionResponseError
OfflineRegionTileCountLimitExceeded
OfflineOperationCompleted
Unknown(u32)
Implementations§
§impl RuntimeEventType
impl RuntimeEventType
pub fn from_raw(raw: u32) -> RuntimeEventType
Trait Implementations§
§impl Clone for RuntimeEventType
impl Clone for RuntimeEventType
§fn clone(&self) -> RuntimeEventType
fn clone(&self) -> RuntimeEventType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for RuntimeEventType
impl Debug for RuntimeEventType
§impl Hash for RuntimeEventType
impl Hash for RuntimeEventType
§impl PartialEq for RuntimeEventType
impl PartialEq for RuntimeEventType
impl Copy for RuntimeEventType
impl Eq for RuntimeEventType
impl StructuralPartialEq for RuntimeEventType
Auto Trait Implementations§
impl Freeze for RuntimeEventType
impl RefUnwindSafe for RuntimeEventType
impl Send for RuntimeEventType
impl Sync for RuntimeEventType
impl Unpin for RuntimeEventType
impl UnsafeUnpin for RuntimeEventType
impl UnwindSafe for RuntimeEventType
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