Enum sdl2_sys::SDL_LogPriority
source · #[repr(u32)]pub enum SDL_LogPriority {
SDL_LOG_PRIORITY_VERBOSE = 1,
SDL_LOG_PRIORITY_DEBUG = 2,
SDL_LOG_PRIORITY_INFO = 3,
SDL_LOG_PRIORITY_WARN = 4,
SDL_LOG_PRIORITY_ERROR = 5,
SDL_LOG_PRIORITY_CRITICAL = 6,
SDL_NUM_LOG_PRIORITIES = 7,
}
Expand description
\brief The predefined log priorities
Variants§
SDL_LOG_PRIORITY_VERBOSE = 1
SDL_LOG_PRIORITY_DEBUG = 2
SDL_LOG_PRIORITY_INFO = 3
SDL_LOG_PRIORITY_WARN = 4
SDL_LOG_PRIORITY_ERROR = 5
SDL_LOG_PRIORITY_CRITICAL = 6
SDL_NUM_LOG_PRIORITIES = 7
Trait Implementations§
source§impl Clone for SDL_LogPriority
impl Clone for SDL_LogPriority
source§fn clone(&self) -> SDL_LogPriority
fn clone(&self) -> SDL_LogPriority
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 Hash for SDL_LogPriority
impl Hash for SDL_LogPriority
source§impl PartialEq for SDL_LogPriority
impl PartialEq for SDL_LogPriority
source§fn eq(&self, other: &SDL_LogPriority) -> bool
fn eq(&self, other: &SDL_LogPriority) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SDL_LogPriority
impl Eq for SDL_LogPriority
impl StructuralPartialEq for SDL_LogPriority
Auto Trait Implementations§
impl Freeze for SDL_LogPriority
impl RefUnwindSafe for SDL_LogPriority
impl Send for SDL_LogPriority
impl Sync for SDL_LogPriority
impl Unpin for SDL_LogPriority
impl UnwindSafe for SDL_LogPriority
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