[−][src]Struct guion::widget::resolved::Resolved
A reference to a resolved Widget
Fields
wref: WidgetRef<'a, E>
path: E::WidgetPath
stor: &'a E::Storage
Methods
impl<'a, E> Resolved<'a, E> where
E: Env,
[src]
E: Env,
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 link(&self, c: &'a mut E::Context) -> Link<'a, E>
[src]
pub fn trace_bounds(
&mut self,
c: &mut E::Context,
root_bounds: &Bounds,
force: bool
) -> Bounds
[src]
&mut self,
c: &mut E::Context,
root_bounds: &Bounds,
force: bool
) -> Bounds
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]
self
) -> Resolved<'a, F> where
E::WidgetPath: WidgetPath<F, SubPath = EWPSub<E>>,
EWPSub<E>: SubPath<F>,
E::Storage: Widgets<F>,
impl<'l: 's, 's, E: Env> Resolved<'l, E>
[src]
Trait Implementations
impl<'a, E> Clone for Resolved<'a, E> where
E: Env,
[src]
E: Env,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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,
<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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,