Enum glfw::ClientApiHint
source · #[repr(i32)]pub enum ClientApiHint {
NoApi = 0,
OpenGl = 196_609,
OpenGlEs = 196_610,
}
Expand description
Client API tokens.
Variants§
Trait Implementations§
source§impl Clone for ClientApiHint
impl Clone for ClientApiHint
source§fn clone(&self) -> ClientApiHint
fn clone(&self) -> ClientApiHint
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 ClientApiHint
impl Debug for ClientApiHint
source§impl Hash for ClientApiHint
impl Hash for ClientApiHint
source§impl Ord for ClientApiHint
impl Ord for ClientApiHint
source§fn cmp(&self, other: &ClientApiHint) -> Ordering
fn cmp(&self, other: &ClientApiHint) -> 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 ClientApiHint
impl PartialEq for ClientApiHint
source§fn eq(&self, other: &ClientApiHint) -> bool
fn eq(&self, other: &ClientApiHint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ClientApiHint
impl PartialOrd for ClientApiHint
source§fn partial_cmp(&self, other: &ClientApiHint) -> Option<Ordering>
fn partial_cmp(&self, other: &ClientApiHint) -> 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 ClientApiHint
impl Eq for ClientApiHint
impl StructuralPartialEq for ClientApiHint
Auto Trait Implementations§
impl RefUnwindSafe for ClientApiHint
impl Send for ClientApiHint
impl Sync for ClientApiHint
impl Unpin for ClientApiHint
impl UnwindSafe for ClientApiHint
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