pub struct ValidationRecord {
pub level: Level,
pub target: String,
pub message: String,
pub thread: Option<String>,
}Expand description
One message a wgpu_hal target logged at Error or Warn.
Fields§
§level: LevelThe level it was logged at.
target: StringThe module that logged it, such as wgpu_hal::vulkan::instance.
message: StringThe message.
thread: Option<String>The logging thread’s name (the test name on a test thread).
Trait Implementations§
Source§impl Clone for ValidationRecord
impl Clone for ValidationRecord
Source§impl Debug for ValidationRecord
impl Debug for ValidationRecord
impl Eq for ValidationRecord
Source§impl PartialEq for ValidationRecord
impl PartialEq for ValidationRecord
impl StructuralPartialEq for ValidationRecord
Auto Trait Implementations§
impl Freeze for ValidationRecord
impl RefUnwindSafe for ValidationRecord
impl Send for ValidationRecord
impl Sync for ValidationRecord
impl Unpin for ValidationRecord
impl UnsafeUnpin for ValidationRecord
impl UnwindSafe for ValidationRecord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.