[][src]Struct rusttyper::simple2d::Simple2d

pub struct Simple2d {
    pub program: Program,
}

Something to get you up & running.

Fields

program: Program

Implementations

impl Simple2d[src]

pub fn create<G: Facade>(
    gl: &G
) -> Result<Simple2d, ProgramChooserCreationError>
[src]

pub fn draw<G: Facade>(
    &self,
    gl: &G,
    target: &mut Frame,
    font: &mut Render,
    buffer: &mut RunBuffer<(i32, i32)>
) -> Result<(), DrawError>
[src]

Auto Trait Implementations

impl !RefUnwindSafe for Simple2d

impl !Send for Simple2d

impl !Sync for Simple2d

impl Unpin for Simple2d

impl !UnwindSafe for Simple2d

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.