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

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

Variants

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

Implementations

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

pub fn from_widget<W>(w: W) -> Self where
    W: WidgetMut<E> + 'w, 
[src]

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

Unwrap widget

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

Resolve further with the subpath if not a path

Meant to be used inside widget’s resolve fn

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

👎 Deprecated

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

pub fn resolved_by_path(
    &self,
    p: &E::WidgetPath
) -> Option<ResolvesThruResult<E>>
[src]

👎 Deprecated

is_subpath on the targeted widget

pub fn guion_resolve_error_child_info(
    &mut self,
    child_idx: usize
) -> GuionResolveErrorChildInfo<E>
[src]

Auto Trait Implementations

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

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

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

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

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