[−][src]Trait guion::widget::WidgetMut
Required methods
fn child_mut<'s>(&'s mut self, i: usize) -> Result<ResolvableMut<'s, E>, ()> where
'w: 's,
'w: 's,
fn into_child_mut(self: Box<Self>, i: usize) -> Result<ResolvableMut<'w, E>, ()>
fn childs_mut<'s>(&'s mut self) -> Vec<ResolvableMut<'s, E>> where
'w: 's,
'w: 's,
Deprecated
fn into_childs_mut(self: Box<Self>) -> Vec<ResolvableMut<'w, E>>
Provided methods
fn set_invalid(&mut self, v: bool)
fn resolve_mut<'s>(
&'s mut self,
i: E::WidgetPath,
invalidate: bool
) -> Result<ResolvableMut<'s, E>, ()> where
'w: 's,
&'s mut self,
i: E::WidgetPath,
invalidate: bool
) -> Result<ResolvableMut<'s, E>, ()> where
'w: 's,
resolve a deep child item by the given relative path an empty path will resolve to this widget
fn into_resolve_mut(
self: Box<Self>,
i: E::WidgetPath,
invalidate: bool
) -> Result<ResolvableMut<'w, E>, ()>
self: Box<Self>,
i: E::WidgetPath,
invalidate: bool
) -> Result<ResolvableMut<'w, E>, ()>
resolve a deep child item by the given relative path an empty path will resolve to this widget
fn inner_mut<'s>(&'s mut self) -> Option<&'s mut dyn WidgetMut<'w, E>>
Methods
impl<'w, E> dyn WidgetMut<'w, E> where
E: Env,
[src]
E: Env,
pub fn is_type<T>(&self) -> bool where
T: Statize,
[src]
T: Statize,
pub fn _downcast_mut<'s, 'd, T>(&'s mut self) -> Option<&'s mut T> where
T: Statize + 'd,
'w: 's,
'd: 's,
[src]
T: Statize + 'd,
'w: 's,
'd: 's,
pub fn downcast_mut<'s, 'd, T>(&'s mut self) -> Option<&'s mut T> where
T: Statize + 'd,
'w: 's,
'd: 's,
[src]
T: Statize + 'd,
'w: 's,
'd: 's,
downcast the current widget to a specific implementation
pub fn _traitcast_mut<'s, 'd, T: ?Sized>(&'s mut self) -> Option<&'s mut T> where
T: Statize + 'd,
'w: 's,
'd: 's,
[src]
T: Statize + 'd,
'w: 's,
'd: 's,
pub fn traitcast_mut<'s, 'd, T: ?Sized>(&'s mut self) -> Option<&'s mut T> where
T: Statize + 'd,
'w: 's,
'd: 's,
[src]
T: Statize + 'd,
'w: 's,
'd: 's,
this will definetly cause UB and delet ur computer
pub fn _downcast_ref<'s, 'd, T>(&'s self) -> Option<&'s T> where
T: Statize + 'd,
'w: 's,
'w: 'd,
'd: 's,
[src]
T: Statize + 'd,
'w: 's,
'w: 'd,
'd: 's,
pub fn downcast_ref<'s, 'd, T>(&'s self) -> Option<&'s T> where
T: Statize + 'd,
'w: 's,
'w: 'd,
'd: 's,
[src]
T: Statize + 'd,
'w: 's,
'w: 'd,
'd: 's,
downcast the current widget to a specific implementation
pub fn _traitcast_ref<'s, 'd, T: ?Sized>(&'s self) -> Option<&'s T> where
T: Statize + 'd,
'w: 's,
'w: 'd,
'd: 's,
[src]
T: Statize + 'd,
'w: 's,
'w: 'd,
'd: 's,
pub fn traitcast_ref<'s, 'd, T: ?Sized>(&'s self) -> Option<&'s T> where
T: Statize + 'd,
'w: 's,
'w: 'd,
'd: 's,
[src]
T: Statize + 'd,
'w: 's,
'w: 'd,
'd: 's,
this will definetly cause UB and delet ur computer
Trait Implementations
impl<'l, 's, 'y, E> ShortRefWidgetMut<'l, 's, 'y, E> for &'y mut dyn WidgetMut<'l, E> where
'l: 's,
's: 'y,
'l: 'y,
E: Env,
[src]
'l: 's,
's: 'y,
'l: 'y,
E: Env,
impl<'s, 'l, E> Widget<'s, E> for &'s mut dyn WidgetMut<'l, E> where
E: Env,
'l: 's,
[src]
E: Env,
'l: 's,
fn id(&self) -> E::WidgetID
[src]
fn render(&self, l: Link<E>, r: &mut RenderLink<E>) -> bool
[src]
fn event(&self, l: Link<E>, e: (EEvent<E>, &Bounds, u64))
[src]
fn size(&self, l: Link<E>) -> ESize<E>
[src]
fn childs(&self) -> usize
[src]
fn childs_ref<'a>(&'a self) -> Vec<Resolvable<'a, E>> where
's: 'a,
[src]
's: 'a,
fn into_childs(self: Box<Self>) -> Vec<Resolvable<'s, E>>
[src]
fn _trace_bounds(
&self,
l: Link<E>,
i: usize,
b: &Bounds,
force: bool
) -> Result<Bounds, ()>
[src]
&self,
l: Link<E>,
i: usize,
b: &Bounds,
force: bool
) -> Result<Bounds, ()>
fn focusable(&self) -> bool
[src]
fn invalid(&self) -> bool
[src]
fn child_paths(&self, own_path: E::WidgetPath) -> Vec<E::WidgetPath>
[src]
fn resolve<'a>(&'a self, i: E::WidgetPath) -> Result<Resolvable<'a, E>, ()> where
's: 'a,
[src]
's: 'a,
fn into_resolve(
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'s, E>, ()>
[src]
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'s, E>, ()>
fn resolve_child(&self, p: &EWPSub<E>) -> Result<usize, ()>
[src]
fn trace_bounds(
&self,
l: Link<E>,
i: E::WidgetPath,
b: &Bounds,
force: bool
) -> Result<Bounds, ()>
[src]
&self,
l: Link<E>,
i: E::WidgetPath,
b: &Bounds,
force: bool
) -> Result<Bounds, ()>
fn self_in_parent(&self, parent: E::WidgetPath) -> E::WidgetPath
[src]
fn is_subpath(&self, p: &EWPSub<E>) -> bool
[src]
fn _focus_on_mouse_down(&self) -> bool
[src]
fn _tabulate_by_tab(&self) -> bool
[src]
fn style(&self, s: &mut ESVariant<E>)
[src]
fn border(&self, b: &mut Border)
[src]
fn debug_type_name(&self)
[src]
fn inner<'a>(&'a self) -> Option<&'a dyn Widget<'s, E>>
[src]
fn child<'a>(&'a self, i: usize) -> Result<Resolvable<'a, E>, ()> where
's: 'a,
[src]
's: 'a,
fn into_child(self: Box<Self>, i: usize) -> Result<Resolvable<'s, E>, ()>
[src]
impl<'s, 'l, E> WidgetMut<'s, E> for &'s mut dyn WidgetMut<'l, E> where
E: Env,
'l: 's,
[src]
E: Env,
'l: 's,
fn childs_mut<'a>(&'a mut self) -> Vec<ResolvableMut<'a, E>> where
's: 'a,
[src]
's: 'a,
fn into_childs_mut(self: Box<Self>) -> Vec<ResolvableMut<'s, E>>
[src]
fn set_invalid(&mut self, v: bool)
[src]
fn resolve_mut<'a>(
&'a mut self,
i: E::WidgetPath,
invalidate: bool
) -> Result<ResolvableMut<'a, E>, ()> where
's: 'a,
[src]
&'a mut self,
i: E::WidgetPath,
invalidate: bool
) -> Result<ResolvableMut<'a, E>, ()> where
's: 'a,
fn into_resolve_mut(
self: Box<Self>,
i: E::WidgetPath,
invalidate: bool
) -> Result<ResolvableMut<'s, E>, ()>
[src]
self: Box<Self>,
i: E::WidgetPath,
invalidate: bool
) -> Result<ResolvableMut<'s, E>, ()>
fn inner_mut<'a>(&'a mut self) -> Option<&'a mut dyn WidgetMut<'s, E>>
[src]
fn child_mut<'a>(&'a mut self, i: usize) -> Result<ResolvableMut<'a, E>, ()> where
's: 'a,
[src]
's: 'a,
fn into_child_mut(self: Box<Self>, i: usize) -> Result<ResolvableMut<'s, E>, ()>
[src]
Implementations on Foreign Types
impl<'w, E> WidgetMut<'w, E> for Box<dyn WidgetMut<'w, E>> where
E: Env,
[src]
E: Env,
fn childs_mut<'a>(&'a mut self) -> Vec<ResolvableMut<'a, E>> where
'w: 'a,
[src]
'w: 'a,
fn into_childs_mut(self: Box<Self>) -> Vec<ResolvableMut<'w, E>>
[src]
fn set_invalid(&mut self, v: bool)
[src]
fn resolve_mut<'a>(
&'a mut self,
i: E::WidgetPath,
invalidate: bool
) -> Result<ResolvableMut<'a, E>, ()> where
'w: 'a,
[src]
&'a mut self,
i: E::WidgetPath,
invalidate: bool
) -> Result<ResolvableMut<'a, E>, ()> where
'w: 'a,
fn into_resolve_mut(
self: Box<Self>,
i: E::WidgetPath,
invalidate: bool
) -> Result<ResolvableMut<'w, E>, ()>
[src]
self: Box<Self>,
i: E::WidgetPath,
invalidate: bool
) -> Result<ResolvableMut<'w, E>, ()>
fn inner_mut<'s>(&'s mut self) -> Option<&'s mut dyn WidgetMut<'w, E>>
[src]
fn child_mut<'a>(&'a mut self, i: usize) -> Result<ResolvableMut<'a, E>, ()> where
'w: 'a,
[src]
'w: 'a,
fn into_child_mut(self: Box<Self>, i: usize) -> Result<ResolvableMut<'w, E>, ()>
[src]
Implementors
impl<'s, 'l, E> WidgetMut<'s, E> for &'s mut dyn WidgetMut<'l, E> where
E: Env,
'l: 's,
[src]
E: Env,
'l: 's,
fn childs_mut<'a>(&'a mut self) -> Vec<ResolvableMut<'a, E>> where
's: 'a,
[src]
's: 'a,
fn into_childs_mut(self: Box<Self>) -> Vec<ResolvableMut<'s, E>>
[src]
fn set_invalid(&mut self, v: bool)
[src]
fn resolve_mut<'a>(
&'a mut self,
i: E::WidgetPath,
invalidate: bool
) -> Result<ResolvableMut<'a, E>, ()> where
's: 'a,
[src]
&'a mut self,
i: E::WidgetPath,
invalidate: bool
) -> Result<ResolvableMut<'a, E>, ()> where
's: 'a,
fn into_resolve_mut(
self: Box<Self>,
i: E::WidgetPath,
invalidate: bool
) -> Result<ResolvableMut<'s, E>, ()>
[src]
self: Box<Self>,
i: E::WidgetPath,
invalidate: bool
) -> Result<ResolvableMut<'s, E>, ()>
fn inner_mut<'a>(&'a mut self) -> Option<&'a mut dyn WidgetMut<'s, E>>
[src]
fn child_mut<'a>(&'a mut self, i: usize) -> Result<ResolvableMut<'a, E>, ()> where
's: 'a,
[src]
's: 'a,
fn into_child_mut(self: Box<Self>, i: usize) -> Result<ResolvableMut<'s, E>, ()>
[src]
impl<'w, E> WidgetMut<'w, E> for Null<E> where
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
ESVariant<E>: StyleVariantSupport<StdVerb>,
[src]
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
ESVariant<E>: StyleVariantSupport<StdVerb>,
fn childs_mut<'s>(&'s mut self) -> Vec<ResolvableMut<'s, E>> where
'w: 's,
[src]
'w: 's,
fn into_childs_mut(self: Box<Self>) -> Vec<ResolvableMut<'w, E>>
[src]
fn child_mut<'a>(&'a mut self, i: usize) -> Result<ResolvableMut<'a, E>, ()> where
'w: 'a,
[src]
'w: 'a,
fn into_child_mut(self: Box<Self>, i: usize) -> Result<ResolvableMut<'w, E>, ()>
[src]
impl<'w, E> WidgetMut<'w, E> for ProgressBar<E> where
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
ESVariant<E>: StyleVariantSupport<StdVerb>,
[src]
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
ESVariant<E>: StyleVariantSupport<StdVerb>,
fn childs_mut<'s>(&'s mut self) -> Vec<ResolvableMut<'s, E>> where
'w: 's,
[src]
'w: 's,
fn into_childs_mut(self: Box<Self>) -> Vec<ResolvableMut<'w, E>>
[src]
fn child_mut<'a>(&'a mut self, _: usize) -> Result<ResolvableMut<'a, E>, ()> where
'w: 'a,
[src]
'w: 'a,
fn into_child_mut(self: Box<Self>, _: usize) -> Result<ResolvableMut<'w, E>, ()>
[src]
impl<'w, E, S> WidgetMut<'w, E> for Button<'w, E, S> where
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
ESVariant<E>: StyleVariantSupport<StdVerb>,
E::Context: AsHandlerStateful<E>,
S: Caption<'w> + Statize,
S::Statur: Sized,
[src]
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
ESVariant<E>: StyleVariantSupport<StdVerb>,
E::Context: AsHandlerStateful<E>,
S: Caption<'w> + Statize,
S::Statur: Sized,
fn childs_mut<'s>(&'s mut self) -> Vec<ResolvableMut<'s, E>> where
'w: 's,
[src]
'w: 's,
fn into_childs_mut(self: Box<Self>) -> Vec<ResolvableMut<'w, E>>
[src]
fn child_mut<'a>(&'a mut self, _: usize) -> Result<ResolvableMut<'a, E>, ()> where
'w: 'a,
[src]
'w: 'a,
fn into_child_mut(self: Box<Self>, _: usize) -> Result<ResolvableMut<'w, E>, ()>
[src]
impl<'w, E, S> WidgetMut<'w, E> for Label<'w, E, S> where
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
ESVariant<E>: StyleVariantSupport<StdVerb>,
S: Caption<'w> + Statize,
S::Statur: Sized,
[src]
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
ESVariant<E>: StyleVariantSupport<StdVerb>,
S: Caption<'w> + Statize,
S::Statur: Sized,
fn childs_mut<'s>(&'s mut self) -> Vec<ResolvableMut<'s, E>> where
'w: 's,
[src]
'w: 's,
fn into_childs_mut(self: Box<Self>) -> Vec<ResolvableMut<'w, E>>
[src]
fn child_mut<'a>(&'a mut self, _: usize) -> Result<ResolvableMut<'a, E>, ()> where
'w: 'a,
[src]
'w: 'a,
fn into_child_mut(self: Box<Self>, _: usize) -> Result<ResolvableMut<'w, E>, ()>
[src]
impl<'w, E, State, Text> WidgetMut<'w, E> for CheckBox<'w, E, State, Text> where
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
ESVariant<E>: StyleVariantSupport<StdVerb>,
E::Context: AsHandlerStateful<E>,
State: AtomStateMut<bool> + Statize + 'w,
State::Statur: Sized,
Text: Caption<'w> + Statize + 'w,
Text::Statur: Sized,
[src]
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
ESVariant<E>: StyleVariantSupport<StdVerb>,
E::Context: AsHandlerStateful<E>,
State: AtomStateMut<bool> + Statize + 'w,
State::Statur: Sized,
Text: Caption<'w> + Statize + 'w,
Text::Statur: Sized,
fn childs_mut<'s>(&'s mut self) -> Vec<ResolvableMut<'s, E>> where
'w: 's,
[src]
'w: 's,
fn into_childs_mut(self: Box<Self>) -> Vec<ResolvableMut<'w, E>>
[src]
fn child_mut<'a>(&'a mut self, _: usize) -> Result<ResolvableMut<'a, E>, ()> where
'w: 'a,
[src]
'w: 'a,
fn into_child_mut(self: Box<Self>, _: usize) -> Result<ResolvableMut<'w, E>, ()>
[src]
unsafe fn _as_trait_ref(&self, t: TypeId) -> Option<TraitObject>
[src]
unsafe fn _as_trait_mut(&mut self, t: TypeId) -> Option<TraitObject>
[src]
impl<'w, T, E> WidgetMut<'w, E> for Pane<'w, T, E> where
T: WidgetArrayMut<'w, E> + Statize,
T::Statur: Statize + Sized,
E: Env,
[src]
T: WidgetArrayMut<'w, E> + Statize,
T::Statur: Statize + Sized,
E: Env,
fn set_invalid(&mut self, v: bool)
[src]
fn childs_mut<'s>(&'s mut self) -> Vec<ResolvableMut<'s, E>> where
'w: 's,
[src]
'w: 's,
fn into_childs_mut(self: Box<Self>) -> Vec<ResolvableMut<'w, E>>
[src]
fn child_mut<'a>(&'a mut self, i: usize) -> Result<ResolvableMut<'a, E>, ()> where
'w: 'a,
[src]
'w: 'a,