#[non_exhaustive]pub enum LogCategory {
Assets,
Audio,
Input,
Screens,
Storage,
Platform,
Game,
}Expand description
What part of the engine or game a line is about.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Assets
The game’s data files.
Audio
Sounds, music and voices.
Input
Keys, controllers and their bindings.
Screens
The screens.
Storage
Saves, settings and profiles.
Platform
The platform: the load, the device.
Game
The game’s own lines.
Implementations§
Trait Implementations§
Source§impl Clone for LogCategory
impl Clone for LogCategory
Source§fn clone(&self) -> LogCategory
fn clone(&self) -> LogCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LogCategory
Source§impl Debug for LogCategory
impl Debug for LogCategory
impl Eq for LogCategory
Source§impl Hash for LogCategory
impl Hash for LogCategory
Source§impl Ord for LogCategory
impl Ord for LogCategory
Source§fn cmp(&self, other: &LogCategory) -> Ordering
fn cmp(&self, other: &LogCategory) -> Ordering
1.21.0 (const: unstable) · 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 LogCategory
impl PartialEq for LogCategory
Source§impl PartialOrd for LogCategory
impl PartialOrd for LogCategory
impl StructuralPartialEq for LogCategory
Auto Trait Implementations§
impl Freeze for LogCategory
impl RefUnwindSafe for LogCategory
impl Send for LogCategory
impl Sync for LogCategory
impl Unpin for LogCategory
impl UnsafeUnpin for LogCategory
impl UnwindSafe for 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