pub enum GlApiVersion {
Gl {
major: usize,
minor: usize,
},
GlEs {
major: usize,
minor: usize,
},
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GlApiVersion
impl Clone for GlApiVersion
Source§fn clone(&self) -> GlApiVersion
fn clone(&self) -> GlApiVersion
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 GlApiVersion
impl Debug for GlApiVersion
Source§impl Hash for GlApiVersion
impl Hash for GlApiVersion
Source§impl Ord for GlApiVersion
impl Ord for GlApiVersion
Source§fn cmp(&self, other: &GlApiVersion) -> Ordering
fn cmp(&self, other: &GlApiVersion) -> 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 GlApiVersion
impl PartialEq for GlApiVersion
Source§impl PartialOrd for GlApiVersion
impl PartialOrd for GlApiVersion
impl Copy for GlApiVersion
impl Eq for GlApiVersion
impl StructuralPartialEq for GlApiVersion
Auto Trait Implementations§
impl Freeze for GlApiVersion
impl RefUnwindSafe for GlApiVersion
impl Send for GlApiVersion
impl Sync for GlApiVersion
impl Unpin for GlApiVersion
impl UnwindSafe for GlApiVersion
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