[][src]Struct keeshond::gameloop::GameloopControl

pub struct GameloopControl { /* fields omitted */ }

Methods

impl GameloopControl[src]

pub fn new() -> Result<GameloopControl, String>[src]

pub fn target_framerate(&self) -> f64[src]

pub fn set_target_framerate(&mut self, new_framerate: f64)[src]

pub fn frame_interpolation(&self) -> bool[src]

pub fn set_frame_interpolation(&mut self, enabled: bool)[src]

pub fn input(&self) -> &Input[src]

pub fn input_mut(&mut self) -> &mut Input[src]

pub fn goto_constructed_scene(&mut self, next_scene: Box<Scene>)[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

impl<T> Downcast for T where
    T: Any
[src]

impl<T> Same for T[src]

type Output = T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>,