Struct fermium::video::SDL_GLcontextFlag
source · #[repr(transparent)]pub struct SDL_GLcontextFlag(pub u32);
Expand description
SDL Context Flags.
See the SDL_GL_CONTEXT_*
constants.
Tuple Fields§
§0: u32
Trait Implementations§
source§impl BitAnd<SDL_GLcontextFlag> for SDL_GLcontextFlag
impl BitAnd<SDL_GLcontextFlag> for SDL_GLcontextFlag
source§impl BitAndAssign<SDL_GLcontextFlag> for SDL_GLcontextFlag
impl BitAndAssign<SDL_GLcontextFlag> for SDL_GLcontextFlag
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr<SDL_GLcontextFlag> for SDL_GLcontextFlag
impl BitOr<SDL_GLcontextFlag> for SDL_GLcontextFlag
source§impl BitOrAssign<SDL_GLcontextFlag> for SDL_GLcontextFlag
impl BitOrAssign<SDL_GLcontextFlag> for SDL_GLcontextFlag
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor<SDL_GLcontextFlag> for SDL_GLcontextFlag
impl BitXor<SDL_GLcontextFlag> for SDL_GLcontextFlag
source§impl BitXorAssign<SDL_GLcontextFlag> for SDL_GLcontextFlag
impl BitXorAssign<SDL_GLcontextFlag> for SDL_GLcontextFlag
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for SDL_GLcontextFlag
impl Clone for SDL_GLcontextFlag
source§fn clone(&self) -> SDL_GLcontextFlag
fn clone(&self) -> SDL_GLcontextFlag
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 SDL_GLcontextFlag
impl Debug for SDL_GLcontextFlag
source§impl Default for SDL_GLcontextFlag
impl Default for SDL_GLcontextFlag
source§fn default() -> SDL_GLcontextFlag
fn default() -> SDL_GLcontextFlag
Returns the “default value” for a type. Read more
source§impl Hash for SDL_GLcontextFlag
impl Hash for SDL_GLcontextFlag
source§impl Not for SDL_GLcontextFlag
impl Not for SDL_GLcontextFlag
source§impl Ord for SDL_GLcontextFlag
impl Ord for SDL_GLcontextFlag
source§fn cmp(&self, other: &SDL_GLcontextFlag) -> Ordering
fn cmp(&self, other: &SDL_GLcontextFlag) -> 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<SDL_GLcontextFlag> for SDL_GLcontextFlag
impl PartialEq<SDL_GLcontextFlag> for SDL_GLcontextFlag
source§fn eq(&self, other: &SDL_GLcontextFlag) -> bool
fn eq(&self, other: &SDL_GLcontextFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SDL_GLcontextFlag> for SDL_GLcontextFlag
impl PartialOrd<SDL_GLcontextFlag> for SDL_GLcontextFlag
source§fn partial_cmp(&self, other: &SDL_GLcontextFlag) -> Option<Ordering>
fn partial_cmp(&self, other: &SDL_GLcontextFlag) -> 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 SDL_GLcontextFlag
impl Eq for SDL_GLcontextFlag
impl StructuralEq for SDL_GLcontextFlag
impl StructuralPartialEq for SDL_GLcontextFlag
Auto Trait Implementations§
impl RefUnwindSafe for SDL_GLcontextFlag
impl Send for SDL_GLcontextFlag
impl Sync for SDL_GLcontextFlag
impl Unpin for SDL_GLcontextFlag
impl UnwindSafe for SDL_GLcontextFlag
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