Enum glfw::ClientApiHint
source · #[repr(i32)]
pub enum ClientApiHint {
NoApi,
OpenGl,
OpenGlEs,
}
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<ClientApiHint> for ClientApiHint
impl PartialEq<ClientApiHint> 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<ClientApiHint> for ClientApiHint
impl PartialOrd<ClientApiHint> 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 more