#[repr(transparent)]pub struct SDL_GLContextResetNotification(pub Sint32);Expand description
Possible values to be set SDL_GL_CONTEXT_RESET_NOTIFICATION attribute.
§Availability
This datatype is available since SDL 3.2.0.
§Known values (sdl3-sys)
| Associated constant | Global constant | Description |
|---|---|---|
NO_NOTIFICATION | SDL_GL_CONTEXT_RESET_NO_NOTIFICATION | |
LOSE_CONTEXT | SDL_GL_CONTEXT_RESET_LOSE_CONTEXT |
Tuple Fields§
§0: Sint32Implementations§
Source§impl SDL_GLContextResetNotification
impl SDL_GLContextResetNotification
pub const NO_NOTIFICATION: Self
pub const LOSE_CONTEXT: Self
Trait Implementations§
Source§impl BitAndAssign for SDL_GLContextResetNotification
impl BitAndAssign for SDL_GLContextResetNotification
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign for SDL_GLContextResetNotification
impl BitOrAssign for SDL_GLContextResetNotification
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXorAssign for SDL_GLContextResetNotification
impl BitXorAssign for SDL_GLContextResetNotification
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for SDL_GLContextResetNotification
impl Clone for SDL_GLContextResetNotification
Source§fn clone(&self) -> SDL_GLContextResetNotification
fn clone(&self) -> SDL_GLContextResetNotification
Returns a duplicate 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_GLContextResetNotification
Available on crate feature debug-impls only.
impl Debug for SDL_GLContextResetNotification
Available on crate feature
debug-impls only.Source§impl Default for SDL_GLContextResetNotification
impl Default for SDL_GLContextResetNotification
Source§fn default() -> SDL_GLContextResetNotification
fn default() -> SDL_GLContextResetNotification
Returns the “default value” for a type. Read more
Source§impl From<SDL_GLContextResetNotification> for Sint32
impl From<SDL_GLContextResetNotification> for Sint32
Source§fn from(value: SDL_GLContextResetNotification) -> Self
fn from(value: SDL_GLContextResetNotification) -> Self
Converts to this type from the input type.
Source§impl GroupMetadata for SDL_GLContextResetNotification
Available on crate feature metadata only.
impl GroupMetadata for SDL_GLContextResetNotification
Available on crate feature
metadata only.Source§const GROUP_METADATA: &'static Group
const GROUP_METADATA: &'static Group
Metadata for this group
Source§impl Not for SDL_GLContextResetNotification
impl Not for SDL_GLContextResetNotification
Source§impl PartialEq<SDL_GLContextResetNotification> for Sint32
impl PartialEq<SDL_GLContextResetNotification> for Sint32
Source§fn eq(&self, other: &SDL_GLContextResetNotification) -> bool
fn eq(&self, other: &SDL_GLContextResetNotification) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialEq for SDL_GLContextResetNotification
impl PartialEq for SDL_GLContextResetNotification
Source§fn eq(&self, other: &SDL_GLContextResetNotification) -> bool
fn eq(&self, other: &SDL_GLContextResetNotification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SDL_GLContextResetNotification
impl Eq for SDL_GLContextResetNotification
impl StructuralPartialEq for SDL_GLContextResetNotification
Auto Trait Implementations§
impl Freeze for SDL_GLContextResetNotification
impl RefUnwindSafe for SDL_GLContextResetNotification
impl Send for SDL_GLContextResetNotification
impl Sync for SDL_GLContextResetNotification
impl Unpin for SDL_GLContextResetNotification
impl UnwindSafe for SDL_GLContextResetNotification
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