#[repr(C)]pub enum DebugCategory {
Show 15 variants
General = 0,
Window = 1,
EventLoop = 2,
Input = 3,
Layout = 4,
Text = 5,
DisplayList = 6,
SceneBuilding = 7,
Rendering = 8,
Resources = 9,
Callbacks = 10,
Timer = 11,
DebugServer = 12,
Platform = 13,
Icon = 14,
}Expand description
Categories for debug messages to enable filtering
Variants§
General = 0
General/uncategorized
Window = 1
Window creation and management
EventLoop = 2
Event loop processing
Input = 3
Input events (mouse, keyboard, touch)
Layout = 4
Layout calculation
Text = 5
Text shaping and rendering
DisplayList = 6
Display list generation
SceneBuilding = 7
WebRender scene building
Rendering = 8
GPU rendering
Resources = 9
Resource loading (fonts, images)
Callbacks = 10
Callbacks and user code
Timer = 11
Timer and animation
DebugServer = 12
HTTP debug server
Platform = 13
Platform-specific (macOS, Windows, Linux)
Icon = 14
Icon resolution
Trait Implementations§
Source§impl Clone for DebugCategory
impl Clone for DebugCategory
Source§fn clone(&self) -> DebugCategory
fn clone(&self) -> DebugCategory
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 DebugCategory
impl Debug for DebugCategory
Source§impl Default for DebugCategory
impl Default for DebugCategory
Source§impl Hash for DebugCategory
impl Hash for DebugCategory
Source§impl Ord for DebugCategory
impl Ord for DebugCategory
Source§fn cmp(&self, other: &DebugCategory) -> Ordering
fn cmp(&self, other: &DebugCategory) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DebugCategory
impl PartialEq for DebugCategory
Source§impl PartialOrd for DebugCategory
impl PartialOrd for DebugCategory
impl Copy for DebugCategory
impl Eq for DebugCategory
impl StructuralPartialEq for DebugCategory
Auto Trait Implementations§
impl Freeze for DebugCategory
impl RefUnwindSafe for DebugCategory
impl Send for DebugCategory
impl Sync for DebugCategory
impl Unpin for DebugCategory
impl UnwindSafe for DebugCategory
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more