#[repr(C)]pub enum HwContextType {
None = 0,
OpenGL = 1,
OpenGLES2 = 2,
OpenGLCore = 3,
OpenGLES3 = 4,
OpenGLESVersion = 5,
Vulkan = 6,
}
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 for HwContextType
impl PartialEq for HwContextType
Source§impl PartialOrd for HwContextType
impl PartialOrd for HwContextType
impl Copy for HwContextType
impl Eq for HwContextType
impl StructuralPartialEq for HwContextType
Auto Trait Implementations§
impl Freeze for HwContextType
impl RefUnwindSafe for HwContextType
impl Send for HwContextType
impl Sync for HwContextType
impl Unpin for HwContextType
impl UnwindSafe for HwContextType
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