Enum rust_raylib::ffi::TraceLogLevel
source · #[repr(C)]pub enum TraceLogLevel {
All = 0,
Trace = 1,
Debug = 2,
Info = 3,
Warning = 4,
Error = 5,
Fatal = 6,
None = 7,
}
Expand description
Trace log level
Variants§
All = 0
Display all logs
Trace = 1
Trace logging, intended for internal use only
Debug = 2
Debug logging, used for internal debugging, it should be disabled on release builds
Info = 3
Info logging, used for program execution info
Warning = 4
Warning logging, used on recoverable failures
Error = 5
Error logging, used on unrecoverable failures
Fatal = 6
Fatal logging, used to abort program: exit(EXIT_FAILURE)
None = 7
Disable logging
Trait Implementations§
source§impl Clone for TraceLogLevel
impl Clone for TraceLogLevel
source§fn clone(&self) -> TraceLogLevel
fn clone(&self) -> TraceLogLevel
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 TraceLogLevel
impl Debug for TraceLogLevel
source§impl Hash for TraceLogLevel
impl Hash for TraceLogLevel
source§impl PartialEq for TraceLogLevel
impl PartialEq for TraceLogLevel
source§fn eq(&self, other: &TraceLogLevel) -> bool
fn eq(&self, other: &TraceLogLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TraceLogLevel
impl Eq for TraceLogLevel
impl StructuralEq for TraceLogLevel
impl StructuralPartialEq for TraceLogLevel
Auto Trait Implementations§
impl RefUnwindSafe for TraceLogLevel
impl Send for TraceLogLevel
impl Sync for TraceLogLevel
impl Unpin for TraceLogLevel
impl UnwindSafe for TraceLogLevel
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