#[repr(i32)]pub enum ContextCreationApi {
Native = 221_185,
Egl = 221_186,
OsMesa = 221_187,
}
Expand description
Specifies the API to use to create the context
Variants§
Trait Implementations§
source§impl Clone for ContextCreationApi
impl Clone for ContextCreationApi
source§fn clone(&self) -> ContextCreationApi
fn clone(&self) -> ContextCreationApi
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 ContextCreationApi
impl Debug for ContextCreationApi
source§impl Hash for ContextCreationApi
impl Hash for ContextCreationApi
source§impl Ord for ContextCreationApi
impl Ord for ContextCreationApi
source§fn cmp(&self, other: &ContextCreationApi) -> Ordering
fn cmp(&self, other: &ContextCreationApi) -> 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 ContextCreationApi
impl PartialEq for ContextCreationApi
source§fn eq(&self, other: &ContextCreationApi) -> bool
fn eq(&self, other: &ContextCreationApi) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ContextCreationApi
impl PartialOrd for ContextCreationApi
source§fn partial_cmp(&self, other: &ContextCreationApi) -> Option<Ordering>
fn partial_cmp(&self, other: &ContextCreationApi) -> 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 moreimpl Copy for ContextCreationApi
impl Eq for ContextCreationApi
impl StructuralPartialEq for ContextCreationApi
Auto Trait Implementations§
impl Freeze for ContextCreationApi
impl RefUnwindSafe for ContextCreationApi
impl Send for ContextCreationApi
impl Sync for ContextCreationApi
impl Unpin for ContextCreationApi
impl UnwindSafe for ContextCreationApi
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