#[repr(u32)]
#[non_exhaustive]
pub enum retro_message_type {
RETRO_MESSAGE_TYPE_NOTIFICATION,
RETRO_MESSAGE_TYPE_NOTIFICATION_ALT,
RETRO_MESSAGE_TYPE_STATUS,
RETRO_MESSAGE_TYPE_PROGRESS,
}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.
RETRO_MESSAGE_TYPE_NOTIFICATION
RETRO_MESSAGE_TYPE_NOTIFICATION_ALT
RETRO_MESSAGE_TYPE_STATUS
RETRO_MESSAGE_TYPE_PROGRESS
Trait Implementations§
source§impl Clone for retro_message_type
impl Clone for retro_message_type
source§fn clone(&self) -> retro_message_type
fn clone(&self) -> retro_message_type
Returns a copy 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 moresource§impl Debug for retro_message_type
impl Debug for retro_message_type
source§impl Hash for retro_message_type
impl Hash for retro_message_type
source§impl PartialEq<retro_message_type> for retro_message_type
impl PartialEq<retro_message_type> for retro_message_type
source§fn eq(&self, other: &retro_message_type) -> bool
fn eq(&self, other: &retro_message_type) -> bool
This method tests for
self and other values to be equal, and is used
by ==.