#[repr(transparent)]pub struct SDL_LogCategory(pub c_uint);Expand description
The predefined log categories
By default the application and gpu categories are 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 ERROR level.
Available Since: This enum is available since SDL 3.2.0.
Tuple Fields§
§0: c_uintImplementations§
Source§impl SDL_LogCategory
impl SDL_LogCategory
pub const SDL_LOG_CATEGORY_APPLICATION: SDL_LogCategory
pub const SDL_LOG_CATEGORY_ERROR: SDL_LogCategory
pub const SDL_LOG_CATEGORY_ASSERT: SDL_LogCategory
pub const SDL_LOG_CATEGORY_SYSTEM: SDL_LogCategory
pub const SDL_LOG_CATEGORY_AUDIO: SDL_LogCategory
pub const SDL_LOG_CATEGORY_VIDEO: SDL_LogCategory
pub const SDL_LOG_CATEGORY_RENDER: SDL_LogCategory
pub const SDL_LOG_CATEGORY_INPUT: SDL_LogCategory
pub const SDL_LOG_CATEGORY_TEST: SDL_LogCategory
pub const SDL_LOG_CATEGORY_GPU: SDL_LogCategory
pub const SDL_LOG_CATEGORY_RESERVED2: SDL_LogCategory
pub const SDL_LOG_CATEGORY_RESERVED3: SDL_LogCategory
pub const SDL_LOG_CATEGORY_RESERVED4: SDL_LogCategory
pub const SDL_LOG_CATEGORY_RESERVED5: SDL_LogCategory
pub const SDL_LOG_CATEGORY_RESERVED6: SDL_LogCategory
pub const SDL_LOG_CATEGORY_RESERVED7: SDL_LogCategory
pub const SDL_LOG_CATEGORY_RESERVED8: SDL_LogCategory
pub const SDL_LOG_CATEGORY_RESERVED9: SDL_LogCategory
pub const SDL_LOG_CATEGORY_RESERVED10: SDL_LogCategory
pub const SDL_LOG_CATEGORY_CUSTOM: SDL_LogCategory
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 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 SDL_LogCategory
impl Debug for SDL_LogCategory
Source§impl Hash for SDL_LogCategory
impl Hash for SDL_LogCategory
Source§impl PartialEq for SDL_LogCategory
impl PartialEq for SDL_LogCategory
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 UnsafeUnpin 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