#[non_exhaustive]pub enum WinsysID {
Any,
Stub,
Glx,
EglXlib,
EglNull,
EglGdl,
EglWayland,
EglKms,
EglAndroid,
EglMir,
Wgl,
Sdl,
}
Expand description
Identifies specific window system backends that Cogl supports.
These can be used to query what backend Cogl is using or to try and explicitly select a backend to use.
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.
Any
Implies no preference for which backend is used
Stub
Use the no-op stub backend
Glx
Use the GLX window system binding API
EglXlib
Use EGL with the X window system via XLib
EglNull
Use EGL with the PowerVR NULL window system
EglGdl
Use EGL with the GDL platform
EglWayland
Use EGL with the Wayland window system
EglKms
Use EGL with the KMS platform
EglAndroid
Use EGL with the Android platform
EglMir
Use EGL with the Mir server
Wgl
Use the Microsoft Windows WGL binding API
Sdl
Use the SDL window system
Trait Implementations§
Source§impl Ord for WinsysID
impl Ord for WinsysID
Source§impl PartialOrd for WinsysID
impl PartialOrd for WinsysID
impl Copy for WinsysID
impl Eq for WinsysID
impl StructuralPartialEq for WinsysID
Auto Trait Implementations§
impl Freeze for WinsysID
impl RefUnwindSafe for WinsysID
impl Send for WinsysID
impl Sync for WinsysID
impl Unpin for WinsysID
impl UnwindSafe for WinsysID
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