[][src]Struct ngen::NgenBuilder

pub struct NgenBuilder { /* fields omitted */ }

Implementations

impl NgenBuilder[src]

pub fn window(self, width: u32, height: u32, title: &'static str) -> Self[src]

pub fn dt(self, dt: f32) -> Self[src]

pub fn max_quads(self, max_quads: u32) -> Self[src]

pub fn max_frame(self, max_frame: f32) -> Self[src]

pub fn temp_memory(self, memory: usize) -> Self[src]

pub fn mount_default<S: Simulation + Default>(self) -> Result<(), String>[src]

pub fn mount<S: Simulation>(self, simulation: S) -> Result<(), String>[src]

Auto Trait Implementations

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, 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.