mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-21 22:33:49 +00:00
Make RequestAdapterError (de)serializable
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
7a73c75e6a
commit
d03b7e239d
@ -438,6 +438,7 @@ impl<M: Marker> AdapterInputs<'_, M> {
|
||||
pub struct InvalidAdapter;
|
||||
|
||||
#[derive(Clone, Debug, Error)]
|
||||
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
|
||||
#[non_exhaustive]
|
||||
pub enum RequestAdapterError {
|
||||
#[error("No suitable adapter found")]
|
||||
|
Loading…
Reference in New Issue
Block a user