[][src]Struct term_fb::SimLoop

pub struct SimLoop { /* fields omitted */ }

Methods

impl SimLoop
[src]

pub fn new(
    sim_fps: f64,
    render_fps: f64,
    term_in: TermIn,
    term_out: TermOut
) -> Result<SimLoop>
[src]

pub fn ready(
    &mut self,
    output: Box<Buf>
) -> Result<(InputKeyIter, Box<Buf>), Box<dyn StdError>>
[src]

pub fn cleanup(self, output: Box<Buf>) -> Result<(), Box<dyn StdError>>
[src]

Auto Trait Implementations

impl Send for SimLoop

impl Sync for SimLoop

Blanket Implementations

impl<T> From for T
[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T