Trait guion::handler::Handler [−][src]
Handlers are stacked inside a Context and any render/event/size action goes through the handler stack
Required methods
fn _render(l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
fn _event_direct(l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
fn _event_root(l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
fn _size(l: Link<'_, E>, e: &EStyle<E>) -> ESize<E>
[src]
fn _send_event(
l: Link<'_, E>,
e: &EventCompound<E>,
child: E::WidgetPath
) -> Result<EventResp, GuionError<E>>
[src]
l: Link<'_, E>,
e: &EventCompound<E>,
child: E::WidgetPath
) -> Result<EventResp, GuionError<E>>
Implementations on Foreign Types
impl<E> Handler<E> for () where
E: Env,
[src]
E: Env,
fn _render(l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
fn _event_direct(l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
fn _event_root(l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
fn _size(l: Link<'_, E>, e: &EStyle<E>) -> ESize<E>
[src]
fn _send_event(
l: Link<'_, E>,
e: &EventCompound<E>,
child: E::WidgetPath
) -> Result<EventResp, GuionError<E>>
[src]
l: Link<'_, E>,
e: &EventCompound<E>,
child: E::WidgetPath
) -> Result<EventResp, GuionError<E>>
Implementors
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]
S: Handler<E>,
E: Env,
E::Context: AsRefMut<Self> + CtxStdState<E> + 'static,
EEvent<E>: StdVarSup<E>,
fn _render(l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
fn _event_direct(l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
fn _send_event(
l: Link<'_, E>,
e: &EventCompound<E>,
child: E::WidgetPath
) -> Result<EventResp, GuionError<E>>
[src]
l: Link<'_, E>,
e: &EventCompound<E>,
child: E::WidgetPath
) -> Result<EventResp, GuionError<E>>