[][src]Struct widgetry::runner::State

pub(crate) struct State<A: SharedAppState> {
    pub(crate) app: App<A>,
    pub(crate) canvas: Canvas,
    style: Style,
}

Fields

app: App<A>canvas: Canvasstyle: Style

Implementations

impl<A: SharedAppState> State<A>[src]

fn event(&mut self, ev: Event, prerender: &Prerender) -> (Vec<UpdateType>, bool)[src]

pub(crate) fn draw(
    &mut self,
    prerender: &Prerender,
    screenshot: bool
) -> Option<String>
[src]

Auto Trait Implementations

impl<A> !RefUnwindSafe for State<A>

impl<A> !Send for State<A>

impl<A> !Sync for State<A>

impl<A> Unpin for State<A> where
    A: Unpin

impl<A> !UnwindSafe for State<A>

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> Downcast for T where
    T: Any

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.