Enum LogSeverity
#[non_exhaustive]pub enum LogSeverity {
Info,
Warning,
Error,
Unknown(u32),
}Expand description
Severity for a MapLibre Native log record.
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.
Implementations§
§impl LogSeverity
impl LogSeverity
pub fn from_raw(raw: u32) -> LogSeverity
Trait Implementations§
§impl Clone for LogSeverity
impl Clone for LogSeverity
§fn clone(&self) -> LogSeverity
fn clone(&self) -> LogSeverity
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 more§impl Debug for LogSeverity
impl Debug for LogSeverity
§impl Hash for LogSeverity
impl Hash for LogSeverity
§impl PartialEq for LogSeverity
impl PartialEq for LogSeverity
impl Copy for LogSeverity
impl Eq for LogSeverity
impl StructuralPartialEq for LogSeverity
Auto Trait Implementations§
impl Freeze for LogSeverity
impl RefUnwindSafe for LogSeverity
impl Send for LogSeverity
impl Sync for LogSeverity
impl Unpin for LogSeverity
impl UnsafeUnpin for LogSeverity
impl UnwindSafe for LogSeverity
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