pub struct Message<'a> {
pub severity: DebugUtilsMessageSeverity,
pub ty: DebugUtilsMessageType,
pub layer_prefix: Option<&'a str>,
pub description: &'a str,
}
Expand description
A message received by the callback.
Fields
severity: DebugUtilsMessageSeverity
Severity of message.
ty: DebugUtilsMessageType
Type of message,
layer_prefix: Option<&'a str>
Prefix of the layer that reported this message or None
if unknown.
description: &'a str
Description of the message.
Auto Trait Implementations
impl<'a> RefUnwindSafe for Message<'a>
impl<'a> Send for Message<'a>
impl<'a> Sync for Message<'a>
impl<'a> Unpin for Message<'a>
impl<'a> UnwindSafe for Message<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more