Enum vulkano::swapchain::SurfaceApi
source · #[non_exhaustive]
pub enum SurfaceApi {
Show 15 variants
Headless,
DisplayPlane,
Android,
DirectFB,
FuchsiaImagePipe,
GgpStreamDescriptor,
Ios,
MacOs,
Metal,
Qnx,
Vi,
Wayland,
Win32,
Xcb,
Xlib,
}
Expand description
The windowing API that was used to construct a surface.
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.
Headless
DisplayPlane
Android
DirectFB
FuchsiaImagePipe
GgpStreamDescriptor
Ios
MacOs
Metal
Qnx
Vi
Wayland
Win32
Xcb
Xlib
Trait Implementations§
source§impl Clone for SurfaceApi
impl Clone for SurfaceApi
source§fn clone(&self) -> SurfaceApi
fn clone(&self) -> SurfaceApi
Returns a copy 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 moresource§impl Debug for SurfaceApi
impl Debug for SurfaceApi
source§impl Hash for SurfaceApi
impl Hash for SurfaceApi
source§impl PartialEq<SurfaceApi> for SurfaceApi
impl PartialEq<SurfaceApi> for SurfaceApi
source§fn eq(&self, other: &SurfaceApi) -> bool
fn eq(&self, other: &SurfaceApi) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.