Struct guion::handler::standard::StdHandler[][src]

pub struct StdHandler<S, E> where
    S: Handler<E>,
    E: Env,
    E::Context: AsRefMut<Self>,
    EEvent<E>: StdVarSup<E>, 
{ pub sup: S, pub s: StdStdState<E>, // some fields omitted }

Fields

sup: Ss: StdStdState<E>

Implementations

impl<S, E> StdHandler<S, E> where
    S: Handler<E>,
    E: Env,
    E::Context: AsRefMut<Self>,
    EEvent<E>: StdVarSup<E>, 
[src]

pub fn new(sup: S) -> Self[src]

pub fn unfocus(root: Link<'_, E>, root_bounds: Bounds, ts: u64) -> EventResp[src]

pub fn focus(
    root: Link<'_, E>,
    p: E::WidgetPath,
    root_bounds: Bounds,
    ts: u64
) -> Result<EventResp, GuionError<E>>
[src]

Trait Implementations

impl<S, E> DynState<E> for StdHandler<S, E> where
    S: Handler<E>,
    E: Env,
    E::WidgetID: Eq + Hash,
    E::Context: AsRefMut<Self> + CtxStdState<E> + 'static,
    EEvent<E>: StdVarSup<E>, 
[src]

impl<S, E> Handler<E> for StdHandler<S, E> where
    S: Handler<E>,
    E: Env,
    E::Context: AsRefMut<Self> + CtxStdState<E> + 'static,
    EEvent<E>: StdVarSup<E>, 
[src]

impl<S, E> StdState<E> for StdHandler<S, E> where
    S: Handler<E>,
    E: Env,
    E::Context: AsRefMut<Self> + CtxStdState<E> + 'static,
    EEvent<E>: StdVarSup<E>, 
[src]

type K = StdPressedKey<E>

Auto Trait Implementations

impl<S, E> !RefUnwindSafe for StdHandler<S, E>

impl<S, E> !Send for StdHandler<S, E>

impl<S, E> !Sync for StdHandler<S, E>

impl<S, E> Unpin for StdHandler<S, E> where
    E: Unpin,
    S: Unpin,
    <<<E as Env>::Backend as Backend<E>>::Event as Event<E>>::Key: Unpin,
    <E as Env>::WidgetID: Unpin,
    <E as Env>::WidgetPath: Unpin

impl<S, E> !UnwindSafe for StdHandler<S, E>

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> FromInto<U> for T where
    T: From<U> + Into<U>, 
[src]

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

impl<'_, S, T, E> StyleSelectorAppend<&'_ S, E> for T where
    T: StyleSelectorAppend<S, E>,
    S: StyleSelectag<E>, 
[src]

impl<'a, S, T, E> StyleSelectorAppend<&'a [S], E> for T where
    T: StyleSelectorAppend<S, E>,
    S: StyleSelectag<E>, 
[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.