Enum sdl2_sys::_bindgen_ty_8
source · #[repr(u32)]pub enum _bindgen_ty_8 {
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 _bindgen_ty_8
impl Clone for _bindgen_ty_8
source§fn clone(&self) -> _bindgen_ty_8
fn clone(&self) -> _bindgen_ty_8
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 Debug for _bindgen_ty_8
impl Debug for _bindgen_ty_8
source§impl Hash for _bindgen_ty_8
impl Hash for _bindgen_ty_8
source§impl PartialEq for _bindgen_ty_8
impl PartialEq for _bindgen_ty_8
impl Copy for _bindgen_ty_8
impl Eq for _bindgen_ty_8
impl StructuralPartialEq for _bindgen_ty_8
Auto Trait Implementations§
impl Freeze for _bindgen_ty_8
impl RefUnwindSafe for _bindgen_ty_8
impl Send for _bindgen_ty_8
impl Sync for _bindgen_ty_8
impl Unpin for _bindgen_ty_8
impl UnwindSafe for _bindgen_ty_8
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)