[][src]Enum guion::widget::resolvable::ResolvableMut

pub enum ResolvableMut<'a, E> where
    E: Env
{ Widget(WidgetRefMut<'a, E>), Path(E::WidgetPath), }

Variants

Widget(WidgetRefMut<'a, E>)
Path(E::WidgetPath)

Methods

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

pub fn as_widget(self) -> Result<WidgetRefMut<'a, E>, E::WidgetPath>[src]

unwrap widget

pub fn resolve_child_mut(
    self,
    i: E::WidgetPath,
    invalidate: bool
) -> Result<ResolvableMut<'a, E>, ()>
[src]

resolve further with the subpath if not a path meant to be used inside widget's resolve fn

pub fn resolve_widget(
    self,
    stor: &'a mut E::Storage
) -> Result<WidgetRefMut<'a, E>, ()>
[src]

Deprecated

pub fn extract_path(&self, dest: &mut E::WidgetPath)[src]

pub fn is_subpath(&self, p: &EWPSub<E>) -> bool[src]

Deprecated

is_subpath on the targeted widget

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

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

Auto Trait Implementations

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

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

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

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

impl<'a, E> !UnwindSafe for ResolvableMut<'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, 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.