#[repr(C)]
pub enum HwContextType {
None,
OpenGL,
OpenGLES2,
OpenGLCore,
OpenGLES3,
OpenGLESVersion,
Vulkan,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for HwContextType
impl Clone for HwContextType
source§fn clone(&self) -> HwContextType
fn clone(&self) -> HwContextType
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 HwContextType
impl Debug for HwContextType
source§impl Hash for HwContextType
impl Hash for HwContextType
source§impl Ord for HwContextType
impl Ord for HwContextType
source§fn cmp(&self, other: &HwContextType) -> Ordering
fn cmp(&self, other: &HwContextType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<HwContextType> for HwContextType
impl PartialEq<HwContextType> for HwContextType
source§fn eq(&self, other: &HwContextType) -> bool
fn eq(&self, other: &HwContextType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<HwContextType> for HwContextType
impl PartialOrd<HwContextType> for HwContextType
source§fn partial_cmp(&self, other: &HwContextType) -> Option<Ordering>
fn partial_cmp(&self, other: &HwContextType) -> Option<Ordering>
1.0.0 · source§fn 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