Enum sdl2::video::SwapInterval [−][src]
#[repr(i32)]pub enum SwapInterval { Immediate, VSync, LateSwapTearing, }
Represents a setting for vsync/swap interval.
Variants
Immediate
VSync
LateSwapTearing
Trait Implementations
impl Copy for SwapInterval
[src]
impl Copy for SwapInterval
impl Clone for SwapInterval
[src]
impl Clone for SwapInterval
fn clone(&self) -> SwapInterval
[src]
fn clone(&self) -> SwapInterval
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for SwapInterval
[src]
impl PartialEq for SwapInterval
fn eq(&self, other: &SwapInterval) -> bool
[src]
fn eq(&self, other: &SwapInterval) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for SwapInterval
[src]
impl Eq for SwapInterval
impl Hash for SwapInterval
[src]
impl Hash for SwapInterval
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for SwapInterval
[src]
impl Debug for SwapInterval
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<i32> for SwapInterval
[src]
impl From<i32> for SwapInterval
Auto Trait Implementations
impl Send for SwapInterval
impl Send for SwapInterval
impl Sync for SwapInterval
impl Sync for SwapInterval