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
sourceimpl Clone for SurfaceApi
impl Clone for SurfaceApi
sourcefn clone(&self) -> SurfaceApi
fn clone(&self) -> SurfaceApi
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SurfaceApi
impl Debug for SurfaceApi
sourceimpl Hash for SurfaceApi
impl Hash for SurfaceApi
sourceimpl PartialEq<SurfaceApi> for SurfaceApi
impl PartialEq<SurfaceApi> for SurfaceApi
sourcefn eq(&self, other: &SurfaceApi) -> bool
fn eq(&self, other: &SurfaceApi) -> bool
impl Copy for SurfaceApi
impl Eq for SurfaceApi
impl StructuralEq for SurfaceApi
impl StructuralPartialEq for SurfaceApi
Auto Trait Implementations
impl RefUnwindSafe for SurfaceApi
impl Send for SurfaceApi
impl Sync for SurfaceApi
impl Unpin for SurfaceApi
impl UnwindSafe for SurfaceApi
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