Enum sdl2::video::SwapInterval[][src]

#[repr(i32)]
pub enum SwapInterval { Immediate, VSync, LateSwapTearing, }

Represents a setting for vsync/swap interval.

Variants

Trait Implementations

impl Copy for SwapInterval
[src]

impl Clone for SwapInterval
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SwapInterval
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for SwapInterval
[src]

impl Hash for SwapInterval
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for SwapInterval
[src]

Formats the value using the given formatter. Read more

impl From<i32> for SwapInterval
[src]

Performs the conversion.

Auto Trait Implementations