[][src]Struct prototty_glutin::Context

pub struct Context<'a> { /* fields omitted */ }

Methods

impl<'a> Context<'a>[src]

pub fn poll_input<F: FnMut(Input)>(&mut self, callback: F)[src]

pub fn buffer_input(&mut self, buffer: &mut Vec<Input>)[src]

pub fn render<V: View<T>, T>(&mut self, view: &mut V, data: T) -> Result<()>[src]

pub fn render_at<V: View<T>, T, R: ViewTransformRgb24>(
    &mut self,
    view: &mut V,
    data: T,
    context: ViewContext<R>
) -> Result<()>
[src]

pub fn size(&self) -> Size[src]

Auto Trait Implementations

impl<'a> !Send for Context<'a>

impl<'a> !Sync for Context<'a>

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> Erased for T