#[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 supports.
These can be used to query what backend is using or to try and explicitly select a backend to use.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
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
sourceimpl Ord for WinsysID
impl Ord for WinsysID
sourceimpl PartialOrd<WinsysID> for WinsysID
impl PartialOrd<WinsysID> for WinsysID
sourcefn partial_cmp(&self, other: &WinsysID) -> Option<Ordering>
fn partial_cmp(&self, other: &WinsysID) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for WinsysID
impl Eq for WinsysID
impl StructuralEq for WinsysID
impl StructuralPartialEq for WinsysID
Auto Trait Implementations
impl RefUnwindSafe for WinsysID
impl Send for WinsysID
impl Sync for WinsysID
impl Unpin for WinsysID
impl UnwindSafe for WinsysID
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
impl<T> Clamp<T> for T where
T: PartialOrd<T>,
impl<T> Clamp<T> for T where
T: PartialOrd<T>,
fn clamped(self, min: T, max: T) -> T
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
fn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.