[][src]Enum duku::VSync

pub enum VSync {
    On,
    Off,
}

VSync setting for rendering.

If this is on, rendering fps is locked to the screen's refresh-rate

Variants

On

turn vsync on

Off

turn vsync off

Trait Implementations

impl Clone for VSync[src]

impl Copy for VSync[src]

impl Debug for VSync[src]

impl Eq for VSync[src]

impl PartialEq<VSync> for VSync[src]

impl StructuralEq for VSync[src]

impl StructuralPartialEq for VSync[src]

Auto Trait Implementations

impl RefUnwindSafe for VSync

impl Send for VSync

impl Sync for VSync

impl Unpin for VSync

impl UnwindSafe for VSync

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.