[][src]Trait screen_13::Screen

pub trait Screen {
    pub fn render(&self, gpu: &Gpu, dims: Extent) -> Render;
pub fn update(self: Box<Self>, gpu: &Gpu, input: &Input) -> DynScreen; }

Screen provides the ability to render using the given GPU and optionally to provide a new Screen result.

Required methods

pub fn render(&self, gpu: &Gpu, dims: Extent) -> Render[src]

TODO

pub fn update(self: Box<Self>, gpu: &Gpu, input: &Input) -> DynScreen[src]

TODO

Loading content...

Implementors

impl Screen for Fade[src]

impl Screen for Solid[src]

Loading content...