#[non_exhaustive]#[repr(u32)]pub enum retro_log_level {
RETRO_LOG_DEBUG = 0,
RETRO_LOG_INFO = 1,
RETRO_LOG_WARN = 2,
RETRO_LOG_ERROR = 3,
RETRO_LOG_DUMMY = 2_147_483_647,
}
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_LOG_DEBUG = 0
RETRO_LOG_INFO = 1
RETRO_LOG_WARN = 2
RETRO_LOG_ERROR = 3
RETRO_LOG_DUMMY = 2_147_483_647
Trait Implementations§
Source§impl Clone for retro_log_level
impl Clone for retro_log_level
Source§fn clone(&self) -> retro_log_level
fn clone(&self) -> retro_log_level
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 moreSource§impl Debug for retro_log_level
impl Debug for retro_log_level
Source§impl Hash for retro_log_level
impl Hash for retro_log_level
Source§impl PartialEq for retro_log_level
impl PartialEq for retro_log_level
impl Copy for retro_log_level
impl Eq for retro_log_level
impl StructuralPartialEq for retro_log_level
Auto Trait Implementations§
impl Freeze for retro_log_level
impl RefUnwindSafe for retro_log_level
impl Send for retro_log_level
impl Sync for retro_log_level
impl Unpin for retro_log_level
impl UnwindSafe for retro_log_level
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