#[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
sourceimpl Clone for retro_message_type
impl Clone for retro_message_type
sourcefn clone(&self) -> retro_message_type
fn clone(&self) -> retro_message_type
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for retro_message_type
impl Debug for retro_message_type
sourceimpl Hash for retro_message_type
impl Hash for retro_message_type
impl Copy for retro_message_type
impl Eq for retro_message_type
impl StructuralEq for retro_message_type
impl StructuralPartialEq for retro_message_type
Auto Trait Implementations
impl RefUnwindSafe for retro_message_type
impl Send for retro_message_type
impl Sync for retro_message_type
impl Unpin for retro_message_type
impl UnwindSafe for retro_message_type
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
