[][src]Struct guion_sdl2::simple::ctx::SimpleCtx

pub struct SimpleCtx {
    pub handler: StdHandler<Handler<(), SimpleEnv>, SimpleEnv>,
}

Fields

handler: StdHandler<Handler<(), SimpleEnv>, SimpleEnv>

Methods

impl SimpleCtx[src]

pub fn from_sdl2(sdl: Sdl, ttf: Sdl2TtfContext) -> Result<Self, String>[src]

Methods from Deref<Target = Core<SimpleEnv>>

Trait Implementations

impl AsHandlerStateful<SimpleEnv> for SimpleCtx[src]

type T = SimpleHandler

impl AsRefMut<Core<SimpleEnv>> for SimpleCtx[src]

impl AsRefMut<StdHandler<Handler<(), SimpleEnv>, SimpleEnv>> for SimpleCtx[src]

impl Context<SimpleEnv> for SimpleCtx[src]

type Handler = SimpleHandler

type Queue = Queue<SimpleEnv>

impl Deref for SimpleCtx[src]

type Target = Core<SimpleEnv>

The resulting type after dereferencing.

impl DerefMut for SimpleCtx[src]

Auto Trait Implementations

impl !RefUnwindSafe for SimpleCtx

impl !Send for SimpleCtx

impl !Sync for SimpleCtx

impl Unpin for SimpleCtx

impl !UnwindSafe for SimpleCtx

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, I> AsRefMut<I> for T where
    T: AsRef<I> + AsMut<I>, 
[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.