[−][src]Enum guion::widget::resolvable::Resolvable
This enum is returned by widget's resolve function
Variants
Widget(WidgetRef<'a, E>)
Path(E::WidgetPath)
Methods
impl<'a, E> Resolvable<'a, E> where
E: Env,
[src]
E: Env,
pub fn resolve_child(self, sub: E::WidgetPath) -> Result<Resolvable<'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 E::Storage
) -> Result<WidgetRef<'a, E>, ()>
[src]
self,
stor: &'a E::Storage
) -> Result<WidgetRef<'a, E>, ()>
completely resolve using the storage
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
pub fn self_in_parent(&self, parent: E::WidgetPath) -> E::WidgetPath
[src]
Deprecated
self_in_parent on the targeted widget
impl<'l: 's, 's, E: Env> Resolvable<'l, E>
[src]
pub fn short_lt(self) -> Resolvable<'s, E>
[src]
Auto Trait Implementations
impl<'a, E> !RefUnwindSafe for Resolvable<'a, E>
impl<'a, E> !Send for Resolvable<'a, E>
impl<'a, E> !Sync for Resolvable<'a, E>
impl<'a, E> Unpin for Resolvable<'a, E> where
<E as Env>::WidgetPath: Unpin,
<E as Env>::WidgetPath: Unpin,
impl<'a, E> !UnwindSafe for Resolvable<'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, 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>,