[][src]Struct guion::widget::resolved::Resolved

pub struct Resolved<'a, E> where
    E: Env
{ pub wref: WidgetRef<'a, E>, pub path: E::WidgetPath, pub stor: &'a E::Storage, }

A reference to a resolved Widget

Fields

wref: WidgetRef<'a, E>path: E::WidgetPathstor: &'a E::Storage

Methods

impl<'a, E> Resolved<'a, E> where
    E: Env
[src]

pub fn widget(&self) -> &WidgetRef<'a, E>[src]

pub fn render(&self, c: &mut E::Context, r: &mut RenderLink<E>) -> bool[src]

pub fn event(&self, c: &mut E::Context, e: (EEvent<E>, &Bounds, u64))[src]

pub fn size(&self, c: &mut E::Context) -> ESize<E>[src]

pub fn _render(&self, c: &mut E::Context, r: &mut RenderLink<E>) -> bool[src]

pub fn _event(&self, c: &mut E::Context, e: (EEvent<E>, &Bounds, u64))[src]

pub fn _size(&self, c: &mut E::Context) -> ESize<E>[src]

pub fn trace_bounds(
    &mut self,
    c: &mut E::Context,
    root_bounds: &Bounds,
    force: bool
) -> Bounds
[src]

pub fn child_paths(&self) -> Vec<E::WidgetPath>[src]

Deprecated

pub fn with_env<F: Env<WidgetPath = E::WidgetPath, Storage = E::Storage>>(
    self
) -> Resolved<'a, F> where
    E::WidgetPath: WidgetPath<F, SubPath = EWPSub<E>>,
    EWPSub<E>: SubPath<F>,
    E::Storage: Widgets<F>, 
[src]

impl<'l: 's, 's, E: Env> Resolved<'l, E>[src]

pub fn short_lt(self) -> Resolved<'s, E>[src]

Trait Implementations

impl<'a, E> Clone for Resolved<'a, E> where
    E: Env
[src]

Auto Trait Implementations

impl<'a, E> !RefUnwindSafe for Resolved<'a, E>

impl<'a, E> !Send for Resolved<'a, E>

impl<'a, E> !Sync for Resolved<'a, E>

impl<'a, E> Unpin for Resolved<'a, E> where
    <E as Env>::WidgetPath: Unpin

impl<'a, E> !UnwindSafe for Resolved<'a, 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> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.