mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
docs(types): Make docs. on DeviceLostReason variants less terse
This commit is contained in:
parent
d8d1af24b6
commit
c3922d53d7
@ -7749,9 +7749,9 @@ mod send_sync {
|
||||
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
||||
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
|
||||
pub enum DeviceLostReason {
|
||||
/// Triggered by driver
|
||||
/// The device was lost for an unspecific reason, including driver errors.
|
||||
Unknown = 0,
|
||||
/// After `Device::destroy`
|
||||
/// The device's `destroy` method was called.
|
||||
Destroyed = 1,
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user