#[repr(C)]pub enum NSTDGLPresentationMode {
NSTD_GL_PRESENTATION_MODE_IMMEDIATE = 0,
NSTD_GL_PRESENTATION_MODE_MAILBOX = 1,
NSTD_GL_PRESENTATION_MODE_FIFO = 2,
}Expand description
Represents a state’s presentation mode.
Variants§
NSTD_GL_PRESENTATION_MODE_IMMEDIATE = 0
NSTD_GL_PRESENTATION_MODE_MAILBOX = 1
NSTD_GL_PRESENTATION_MODE_FIFO = 2
Trait Implementations§
Source§impl Into<PresentMode> for NSTDGLPresentationMode
impl Into<PresentMode> for NSTDGLPresentationMode
Source§fn into(self) -> PresentMode
fn into(self) -> PresentMode
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for NSTDGLPresentationMode
impl RefUnwindSafe for NSTDGLPresentationMode
impl Send for NSTDGLPresentationMode
impl Sync for NSTDGLPresentationMode
impl Unpin for NSTDGLPresentationMode
impl UnwindSafe for NSTDGLPresentationMode
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more