#[non_exhaustive]#[repr(u32)]pub enum retro_message_type {
RETRO_MESSAGE_TYPE_NOTIFICATION = 0,
RETRO_MESSAGE_TYPE_NOTIFICATION_ALT = 1,
RETRO_MESSAGE_TYPE_STATUS = 2,
RETRO_MESSAGE_TYPE_PROGRESS = 3,
}
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 = 0
RETRO_MESSAGE_TYPE_NOTIFICATION_ALT = 1
RETRO_MESSAGE_TYPE_STATUS = 2
RETRO_MESSAGE_TYPE_PROGRESS = 3
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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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 for retro_message_type
impl PartialEq for retro_message_type
impl Copy for retro_message_type
impl Eq for retro_message_type
impl StructuralPartialEq for retro_message_type
Auto Trait Implementations§
impl Freeze for retro_message_type
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§
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