Enum sdl2_sys::SDL_LogCategory
source · #[repr(u32)]pub enum SDL_LogCategory {
Show 20 variants
SDL_LOG_CATEGORY_APPLICATION = 0,
SDL_LOG_CATEGORY_ERROR = 1,
SDL_LOG_CATEGORY_ASSERT = 2,
SDL_LOG_CATEGORY_SYSTEM = 3,
SDL_LOG_CATEGORY_AUDIO = 4,
SDL_LOG_CATEGORY_VIDEO = 5,
SDL_LOG_CATEGORY_RENDER = 6,
SDL_LOG_CATEGORY_INPUT = 7,
SDL_LOG_CATEGORY_TEST = 8,
SDL_LOG_CATEGORY_RESERVED1 = 9,
SDL_LOG_CATEGORY_RESERVED2 = 10,
SDL_LOG_CATEGORY_RESERVED3 = 11,
SDL_LOG_CATEGORY_RESERVED4 = 12,
SDL_LOG_CATEGORY_RESERVED5 = 13,
SDL_LOG_CATEGORY_RESERVED6 = 14,
SDL_LOG_CATEGORY_RESERVED7 = 15,
SDL_LOG_CATEGORY_RESERVED8 = 16,
SDL_LOG_CATEGORY_RESERVED9 = 17,
SDL_LOG_CATEGORY_RESERVED10 = 18,
SDL_LOG_CATEGORY_CUSTOM = 19,
}
Expand description
\brief The predefined log categories
By default the application category is enabled at the INFO level, the assert category is enabled at the WARN level, test is enabled at the VERBOSE level and all other categories are enabled at the CRITICAL level.
Variants§
SDL_LOG_CATEGORY_APPLICATION = 0
SDL_LOG_CATEGORY_ERROR = 1
SDL_LOG_CATEGORY_ASSERT = 2
SDL_LOG_CATEGORY_SYSTEM = 3
SDL_LOG_CATEGORY_AUDIO = 4
SDL_LOG_CATEGORY_VIDEO = 5
SDL_LOG_CATEGORY_RENDER = 6
SDL_LOG_CATEGORY_INPUT = 7
SDL_LOG_CATEGORY_TEST = 8
SDL_LOG_CATEGORY_RESERVED1 = 9
SDL_LOG_CATEGORY_RESERVED2 = 10
SDL_LOG_CATEGORY_RESERVED3 = 11
SDL_LOG_CATEGORY_RESERVED4 = 12
SDL_LOG_CATEGORY_RESERVED5 = 13
SDL_LOG_CATEGORY_RESERVED6 = 14
SDL_LOG_CATEGORY_RESERVED7 = 15
SDL_LOG_CATEGORY_RESERVED8 = 16
SDL_LOG_CATEGORY_RESERVED9 = 17
SDL_LOG_CATEGORY_RESERVED10 = 18
SDL_LOG_CATEGORY_CUSTOM = 19
Trait Implementations§
source§impl Clone for SDL_LogCategory
impl Clone for SDL_LogCategory
source§fn clone(&self) -> SDL_LogCategory
fn clone(&self) -> SDL_LogCategory
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_LogCategory
impl Hash for SDL_LogCategory
source§impl PartialEq for SDL_LogCategory
impl PartialEq for SDL_LogCategory
source§fn eq(&self, other: &SDL_LogCategory) -> bool
fn eq(&self, other: &SDL_LogCategory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SDL_LogCategory
impl Eq for SDL_LogCategory
impl StructuralPartialEq for SDL_LogCategory
Auto Trait Implementations§
impl Freeze for SDL_LogCategory
impl RefUnwindSafe for SDL_LogCategory
impl Send for SDL_LogCategory
impl Sync for SDL_LogCategory
impl Unpin for SDL_LogCategory
impl UnwindSafe for SDL_LogCategory
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