Trait guion::widget::Widget [−][src]
Core Trait of guion ™️
Required methods
fn id(&self) -> E::WidgetID
[src]
fn _render(&self, l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
generally not called directly, rather through Link::render
fn _event_direct(&self, l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
generally not called directly, rather through Link::event
fn _size(&self, l: Link<'_, E>, e: &EStyle<E>) -> ESize<E>
[src]
generally not called directly, rather through Link::size
fn childs(&self) -> usize
[src]
fn child<'s>(&'s self, i: usize) -> Result<Resolvable<'s, E>, ()>
[src]
fn into_child<'s>(self: Box<Self>, i: usize) -> Result<Resolvable<'s, E>, ()> where
Self: 's,
[src]
Self: 's,
fn into_childs<'w>(self: Box<Self>) -> Vec<Resolvable<'w, E>> where
Self: 'w,
[src]
Self: 'w,
fn child_bounds(
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
[src]
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
fn focusable(&self) -> bool
[src]
If the widget should be focusable
Regularly true for interactive widgets, false for layouts.
Provided methods
fn childs_ref<'s>(&'s self) -> Vec<Resolvable<'s, E>>
[src]
fn child_paths(&self, own_path: E::WidgetPath) -> Vec<E::WidgetPath>
[src]
fn resolve<'s>(
&'s self,
i: E::WidgetPath
) -> Result<Resolvable<'s, E>, GuionError<E>>
[src]
&'s self,
i: E::WidgetPath
) -> Result<Resolvable<'s, E>, GuionError<E>>
Resolve a deep child item by the given relative path
An empty path will resolve to this widget
generally not used directly, but through Widgets::widget
fn into_resolve<'w>(
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, E>, GuionError<E>> where
Self: 'w,
[src]
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, E>, GuionError<E>> where
Self: 'w,
Resolve a deep child item by the given relative path
An empty path will resolve to this widget
generally not used directly, but through Widgets::widget
fn resolve_child(
&self,
sub_path: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
[src]
&self,
sub_path: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
To (or through) which child path would the given sub_path resolve?
Returns the child index and the subpath inside the child widget to resolve further
generally not used directly, but through Widgets::widget
fn trace_bounds(
&self,
l: Link<'_, E>,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
[src]
&self,
l: Link<'_, E>,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
fn in_parent_path(&self, parent: E::WidgetPath) -> E::WidgetPath
[src]
Attach widget’s id to the given parent path
fn resolved_by_path(
&self,
sub_path: &E::WidgetPath
) -> Option<ResolvesThruResult<E>>
[src]
&self,
sub_path: &E::WidgetPath
) -> Option<ResolvesThruResult<E>>
Refer WidgetPath::resolves_thru
sub_path
: subpath in parent widget (which contains this widget as child) which would probably resolve to/through this widget
fn _focus_on_mouse_down(&self) -> bool
[src]
fn _tabulate_by_tab(&self) -> bool
[src]
fn _tabulate_next_child(
&self,
_l: Link<'_, E>,
origin: TabulateNextChildOrigin,
dir: TabulateDirection
) -> TabulateNextChildResponse
[src]
&self,
_l: Link<'_, E>,
origin: TabulateNextChildOrigin,
dir: TabulateDirection
) -> TabulateNextChildResponse
Determines the next child in this widget in the tabulation step
fn _tabulate(
&self,
l: Link<'_, E>,
op: TabulateOrigin<E>,
dir: TabulateDirection
) -> Result<TabulateResponse<E>, GuionError<E>>
[src]
&self,
l: Link<'_, E>,
op: TabulateOrigin<E>,
dir: TabulateDirection
) -> Result<TabulateResponse<E>, GuionError<E>>
fn inner(&self) -> Option<&dyn Widget<E>>
[src]
fn innest(&self) -> Option<&dyn Widget<E>>
[src]
fn debug_type_name(&self, dest: &mut Vec<&'static str>)
[src]
fn debugged_type_name(&self) -> Vec<&'static str>
[src]
fn box_ref<'s>(&'s self) -> WidgetRef<'s, E>
[src]
Box reference of this widget immutable. Use WidgetMut::box_mut
to box into mutable WidgetRef
.
fn box_box<'w>(self: Box<Self>) -> WidgetRef<'w, E> where
Self: 'w,
[src]
Self: 'w,
Move widget into box immutable. Use WidgetMut::box_box_mut
to box into mutable WidgetRef
.
fn boxed<'w>(self) -> WidgetRef<'w, E> where
Self: Sized + 'w,
[src]
Self: Sized + 'w,
Move widget into box immutable. Use WidgetMut::boxed_mut
to box into mutable WidgetRef
.
fn gen_diag_error_resolve_fail(
&self,
sub_path: &E::WidgetPath,
op: &'static str
) -> GuionError<E>
[src]
&self,
sub_path: &E::WidgetPath,
op: &'static str
) -> GuionError<E>
Implementations
impl<E> dyn Widget<E> + '_ where
E: Env,
[src]
E: Env,
pub fn traitcast_ref<'s, T>(&'s self) -> Result<&'s T, GuionError<E>> where
Self: Traitcast<T, E>,
T: ?Sized,
[src]
Self: Traitcast<T, E>,
T: ?Sized,
pub fn try_traitcast_ref<'s, T>(&'s self) -> Result<&'s T, ()> where
Self: Traitcast<T, E>,
T: ?Sized,
[src]
Self: Traitcast<T, E>,
T: ?Sized,
Trait Implementations
impl<'w, T, E> Traitcast<dyn AtomState<E, T> + 'w, E> for dyn Widget<E> + 'w where
E: Env,
T: 'static,
[src]
E: Env,
T: 'static,
type DestTypeID = dyn AtomState<E, T>
unsafe fn _traitcast_ref<'s>(
senf: &'s dyn Widget<E>
) -> Result<&'s T, GuionError<E>>
[src]
senf: &'s dyn Widget<E>
) -> Result<&'s T, GuionError<E>>
unsafe fn _try_traitcast_ref<'s>(senf: &'s dyn Widget<E>) -> Result<&'s T, ()>
[src]
impl<'w, E> Traitcast<dyn Caption<E> + 'w, E> for dyn Widget<E> + 'w where
E: Env,
[src]
E: Env,
type DestTypeID = dyn Caption<E> + 'static
unsafe fn _traitcast_ref<'s>(
senf: &'s dyn Widget<E>
) -> Result<&'s T, GuionError<E>>
[src]
senf: &'s dyn Widget<E>
) -> Result<&'s T, GuionError<E>>
unsafe fn _try_traitcast_ref<'s>(senf: &'s dyn Widget<E>) -> Result<&'s T, ()>
[src]
impl<'w, E> Traitcast<dyn ICheckBox<E> + 'w, E> for dyn Widget<E> + 'w where
E: Env,
[src]
E: Env,
type DestTypeID = dyn ICheckBox<E> + 'static
unsafe fn _traitcast_ref<'s>(
senf: &'s dyn Widget<E>
) -> Result<&'s T, GuionError<E>>
[src]
senf: &'s dyn Widget<E>
) -> Result<&'s T, GuionError<E>>
unsafe fn _try_traitcast_ref<'s>(senf: &'s dyn Widget<E>) -> Result<&'s T, ()>
[src]
impl<'w, E> Traitcast<dyn ITextBox<E> + 'w, E> for dyn Widget<E> + 'w where
E: Env,
[src]
E: Env,
type DestTypeID = dyn ITextBox<E> + 'static
unsafe fn _traitcast_ref<'s>(
senf: &'s dyn Widget<E>
) -> Result<&'s T, GuionError<E>>
[src]
senf: &'s dyn Widget<E>
) -> Result<&'s T, GuionError<E>>
unsafe fn _try_traitcast_ref<'s>(senf: &'s dyn Widget<E>) -> Result<&'s T, ()>
[src]
impl<'w, E> Traitcast<dyn Validation<E> + 'w, E> for dyn Widget<E> + 'w where
E: Env,
[src]
E: Env,
type DestTypeID = dyn Validation<E> + 'static
unsafe fn _traitcast_ref<'s>(
senf: &'s dyn Widget<E>
) -> Result<&'s T, GuionError<E>>
[src]
senf: &'s dyn Widget<E>
) -> Result<&'s T, GuionError<E>>
unsafe fn _try_traitcast_ref<'s>(senf: &'s dyn Widget<E>) -> Result<&'s T, ()>
[src]
impl<E> Widget<E> for &(dyn Widget<E> + '_) where
E: Env,
[src]
E: Env,
fn id(&self) -> E::WidgetID
[src]
fn _render(&self, l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
fn _event_direct(&self, l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
fn _size(&self, l: Link<'_, E>, e: &EStyle<E>) -> ESize<E>
[src]
fn childs(&self) -> usize
[src]
fn childs_ref(&self) -> Vec<Resolvable<'_, E>>
[src]
fn into_childs<'w>(self: Box<Self>) -> Vec<Resolvable<'w, E>> where
Self: 'w,
[src]
Self: 'w,
fn child_bounds(
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
[src]
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
fn focusable(&self) -> bool
[src]
fn child_paths(&self, own_path: E::WidgetPath) -> Vec<E::WidgetPath>
[src]
fn resolve(&self, i: E::WidgetPath) -> Result<Resolvable<'_, E>, GuionError<E>>
[src]
fn into_resolve<'w>(
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, E>, GuionError<E>> where
Self: 'w,
[src]
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, E>, GuionError<E>> where
Self: 'w,
fn resolve_child(
&self,
p: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
[src]
&self,
p: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
fn trace_bounds(
&self,
l: Link<'_, E>,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
[src]
&self,
l: Link<'_, E>,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
fn in_parent_path(&self, parent: E::WidgetPath) -> E::WidgetPath
[src]
fn resolved_by_path(
&self,
sub_path: &E::WidgetPath
) -> Option<ResolvesThruResult<E>>
[src]
&self,
sub_path: &E::WidgetPath
) -> Option<ResolvesThruResult<E>>
fn _focus_on_mouse_down(&self) -> bool
[src]
fn _tabulate_by_tab(&self) -> bool
[src]
fn debug_type_name(&self, dest: &mut Vec<&'static str>)
[src]
fn inner(&self) -> Option<&dyn Widget<E>>
[src]
fn child(&self, i: usize) -> Result<Resolvable<'_, E>, ()>
[src]
fn into_child<'w>(self: Box<Self>, i: usize) -> Result<Resolvable<'w, E>, ()> where
Self: 'w,
[src]
Self: 'w,
fn box_ref(&self) -> WidgetRef<'_, E>
[src]
fn box_box<'w>(self: Box<Self>) -> WidgetRef<'w, E> where
Self: 'w,
[src]
Self: 'w,
fn boxed<'w>(self) -> WidgetRef<'w, E> where
Self: Sized + 'w,
[src]
Self: Sized + 'w,
fn _tabulate_next_child(
&self,
_l: Link<'_, E>,
origin: TabulateNextChildOrigin,
dir: TabulateDirection
) -> TabulateNextChildResponse
[src]
&self,
_l: Link<'_, E>,
origin: TabulateNextChildOrigin,
dir: TabulateDirection
) -> TabulateNextChildResponse
fn _tabulate(
&self,
l: Link<'_, E>,
op: TabulateOrigin<E>,
dir: TabulateDirection
) -> Result<TabulateResponse<E>, GuionError<E>>
[src]
&self,
l: Link<'_, E>,
op: TabulateOrigin<E>,
dir: TabulateDirection
) -> Result<TabulateResponse<E>, GuionError<E>>
fn innest(&self) -> Option<&dyn Widget<E>>
[src]
fn debugged_type_name(&self) -> Vec<&'static str>
[src]
fn gen_diag_error_resolve_fail(
&self,
sub_path: &E::WidgetPath,
op: &'static str
) -> GuionError<E>
[src]
&self,
sub_path: &E::WidgetPath,
op: &'static str
) -> GuionError<E>
impl<E> Widget<E> for &mut (dyn Widget<E> + '_) where
E: Env,
[src]
E: Env,
fn id(&self) -> E::WidgetID
[src]
fn _render(&self, l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
fn _event_direct(&self, l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
fn _size(&self, l: Link<'_, E>, e: &EStyle<E>) -> ESize<E>
[src]
fn childs(&self) -> usize
[src]
fn childs_ref(&self) -> Vec<Resolvable<'_, E>>
[src]
fn into_childs<'w>(self: Box<Self>) -> Vec<Resolvable<'w, E>> where
Self: 'w,
[src]
Self: 'w,
fn child_bounds(
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
[src]
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
fn focusable(&self) -> bool
[src]
fn child_paths(&self, own_path: E::WidgetPath) -> Vec<E::WidgetPath>
[src]
fn resolve(&self, i: E::WidgetPath) -> Result<Resolvable<'_, E>, GuionError<E>>
[src]
fn into_resolve<'w>(
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, E>, GuionError<E>> where
Self: 'w,
[src]
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, E>, GuionError<E>> where
Self: 'w,
fn resolve_child(
&self,
p: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
[src]
&self,
p: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
fn trace_bounds(
&self,
l: Link<'_, E>,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
[src]
&self,
l: Link<'_, E>,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
fn in_parent_path(&self, parent: E::WidgetPath) -> E::WidgetPath
[src]
fn resolved_by_path(
&self,
sub_path: &E::WidgetPath
) -> Option<ResolvesThruResult<E>>
[src]
&self,
sub_path: &E::WidgetPath
) -> Option<ResolvesThruResult<E>>
fn _focus_on_mouse_down(&self) -> bool
[src]
fn _tabulate_by_tab(&self) -> bool
[src]
fn debug_type_name(&self, dest: &mut Vec<&'static str>)
[src]
fn inner(&self) -> Option<&dyn Widget<E>>
[src]
fn child(&self, i: usize) -> Result<Resolvable<'_, E>, ()>
[src]
fn into_child<'w>(self: Box<Self>, i: usize) -> Result<Resolvable<'w, E>, ()> where
Self: 'w,
[src]
Self: 'w,
fn box_ref(&self) -> WidgetRef<'_, E>
[src]
fn box_box<'w>(self: Box<Self>) -> WidgetRef<'w, E> where
Self: 'w,
[src]
Self: 'w,
fn boxed<'w>(self) -> WidgetRef<'w, E> where
Self: Sized + 'w,
[src]
Self: Sized + 'w,
fn _tabulate_next_child(
&self,
_l: Link<'_, E>,
origin: TabulateNextChildOrigin,
dir: TabulateDirection
) -> TabulateNextChildResponse
[src]
&self,
_l: Link<'_, E>,
origin: TabulateNextChildOrigin,
dir: TabulateDirection
) -> TabulateNextChildResponse
fn _tabulate(
&self,
l: Link<'_, E>,
op: TabulateOrigin<E>,
dir: TabulateDirection
) -> Result<TabulateResponse<E>, GuionError<E>>
[src]
&self,
l: Link<'_, E>,
op: TabulateOrigin<E>,
dir: TabulateDirection
) -> Result<TabulateResponse<E>, GuionError<E>>
fn innest(&self) -> Option<&dyn Widget<E>>
[src]
fn debugged_type_name(&self) -> Vec<&'static str>
[src]
fn gen_diag_error_resolve_fail(
&self,
sub_path: &E::WidgetPath,
op: &'static str
) -> GuionError<E>
[src]
&self,
sub_path: &E::WidgetPath,
op: &'static str
) -> GuionError<E>
Implementations on Foreign Types
impl<E> Widget<E> for Box<dyn Widget<E> + '_> where
E: Env,
[src]
E: Env,
fn id(&self) -> E::WidgetID
[src]
fn _render(&self, l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
fn _event_direct(&self, l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
fn _size(&self, l: Link<'_, E>, e: &EStyle<E>) -> ESize<E>
[src]
fn childs(&self) -> usize
[src]
fn childs_ref(&self) -> Vec<Resolvable<'_, E>>
[src]
fn into_childs<'w>(self: Box<Self>) -> Vec<Resolvable<'w, E>> where
Self: 'w,
[src]
Self: 'w,
fn child_bounds(
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
[src]
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
fn focusable(&self) -> bool
[src]
fn child_paths(&self, own_path: E::WidgetPath) -> Vec<E::WidgetPath>
[src]
fn resolve(&self, i: E::WidgetPath) -> Result<Resolvable<'_, E>, GuionError<E>>
[src]
fn into_resolve<'w>(
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, E>, GuionError<E>> where
Self: 'w,
[src]
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, E>, GuionError<E>> where
Self: 'w,
fn resolve_child(
&self,
p: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
[src]
&self,
p: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
fn trace_bounds(
&self,
l: Link<'_, E>,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
[src]
&self,
l: Link<'_, E>,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
fn in_parent_path(&self, parent: E::WidgetPath) -> E::WidgetPath
[src]
fn resolved_by_path(
&self,
sub_path: &E::WidgetPath
) -> Option<ResolvesThruResult<E>>
[src]
&self,
sub_path: &E::WidgetPath
) -> Option<ResolvesThruResult<E>>
fn _focus_on_mouse_down(&self) -> bool
[src]
fn _tabulate_by_tab(&self) -> bool
[src]
fn debug_type_name(&self, dest: &mut Vec<&'static str>)
[src]
fn inner(&self) -> Option<&dyn Widget<E>>
[src]
fn child(&self, i: usize) -> Result<Resolvable<'_, E>, ()>
[src]
fn into_child<'w>(self: Box<Self>, i: usize) -> Result<Resolvable<'w, E>, ()> where
Self: 'w,
[src]
Self: 'w,
fn box_ref(&self) -> WidgetRef<'_, E>
[src]
fn box_box<'w>(self: Box<Self>) -> WidgetRef<'w, E> where
Self: 'w,
[src]
Self: 'w,
fn boxed<'w>(self) -> WidgetRef<'w, E> where
Self: Sized + 'w,
[src]
Self: Sized + 'w,
impl<E> Widget<E> for Box<dyn WidgetMut<E> + '_> where
E: Env,
[src]
E: Env,
fn id(&self) -> E::WidgetID
[src]
fn _render(&self, l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
fn _event_direct(&self, l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
fn _size(&self, l: Link<'_, E>, e: &EStyle<E>) -> ESize<E>
[src]
fn childs(&self) -> usize
[src]
fn childs_ref(&self) -> Vec<Resolvable<'_, E>>
[src]
fn into_childs<'w>(self: Box<Self>) -> Vec<Resolvable<'w, E>> where
Self: 'w,
[src]
Self: 'w,
fn child_bounds(
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
[src]
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
fn focusable(&self) -> bool
[src]
fn child_paths(&self, own_path: E::WidgetPath) -> Vec<E::WidgetPath>
[src]
fn resolve(&self, i: E::WidgetPath) -> Result<Resolvable<'_, E>, GuionError<E>>
[src]
fn into_resolve<'w>(
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, E>, GuionError<E>> where
Self: 'w,
[src]
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, E>, GuionError<E>> where
Self: 'w,
fn resolve_child(
&self,
p: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
[src]
&self,
p: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
fn trace_bounds(
&self,
l: Link<'_, E>,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
[src]
&self,
l: Link<'_, E>,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
fn in_parent_path(&self, parent: E::WidgetPath) -> E::WidgetPath
[src]
fn resolved_by_path(
&self,
sub_path: &E::WidgetPath
) -> Option<ResolvesThruResult<E>>
[src]
&self,
sub_path: &E::WidgetPath
) -> Option<ResolvesThruResult<E>>
fn _focus_on_mouse_down(&self) -> bool
[src]
fn _tabulate_by_tab(&self) -> bool
[src]
fn debug_type_name(&self, dest: &mut Vec<&'static str>)
[src]
fn inner(&self) -> Option<&dyn Widget<E>>
[src]
fn child(&self, i: usize) -> Result<Resolvable<'_, E>, ()>
[src]
fn into_child<'w>(self: Box<Self>, i: usize) -> Result<Resolvable<'w, E>, ()> where
Self: 'w,
[src]
Self: 'w,
fn box_ref(&self) -> WidgetRef<'_, E>
[src]
fn box_box<'w>(self: Box<Self>) -> WidgetRef<'w, E> where
Self: 'w,
[src]
Self: 'w,
fn boxed<'w>(self) -> WidgetRef<'w, E> where
Self: Sized + 'w,
[src]
Self: Sized + 'w,
Implementors
impl<'w, E> Widget<E> for ProgressBar<'w, E> where
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
[src]
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
fn id(&self) -> E::WidgetID
[src]
fn _render(&self, l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
fn _event_direct(&self, _: Link<'_, E>, _: &EventCompound<E>) -> EventResp
[src]
fn _size(&self, _: Link<'_, E>, e: &EStyle<E>) -> ESize<E>
[src]
fn childs(&self) -> usize
[src]
fn childs_ref(&self) -> Vec<Resolvable<'_, E>>
[src]
fn into_childs<'a>(self: Box<Self>) -> Vec<Resolvable<'a, E>> where
Self: 'a,
[src]
Self: 'a,
fn child_bounds(
&self,
_: Link<'_, E>,
_: &Bounds,
e: &EStyle<E>,
_: bool
) -> Result<Vec<Bounds>, ()>
[src]
&self,
_: Link<'_, E>,
_: &Bounds,
e: &EStyle<E>,
_: bool
) -> Result<Vec<Bounds>, ()>
fn focusable(&self) -> bool
[src]
fn child(&self, _: usize) -> Result<Resolvable<'_, E>, ()>
[src]
fn into_child<'a>(self: Box<Self>, _: usize) -> Result<Resolvable<'a, E>, ()> where
Self: 'a,
[src]
Self: 'a,
unsafe fn _as_trait_ref<'impl_traitcast_lt_a>(
&'impl_traitcast_lt_a self,
t: TypeId
) -> Option<TraitObject>
[src]
&'impl_traitcast_lt_a self,
t: TypeId
) -> Option<TraitObject>
impl<'w, E, L, R, V> Widget<E> for SplitPane<'w, E, L, R, V> where
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
E::Context: CtxStdState<E>,
L: AsWidget<E>,
R: AsWidget<E>,
V: AtomState<E, f32>,
[src]
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
E::Context: CtxStdState<E>,
L: AsWidget<E>,
R: AsWidget<E>,
V: AtomState<E, f32>,
fn id(&self) -> E::WidgetID
[src]
fn _render(&self, l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
fn _event_direct(&self, l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
fn _size(&self, l: Link<'_, E>, e: &EStyle<E>) -> ESize<E>
[src]
fn child_bounds(
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
[src]
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
fn childs(&self) -> usize
[src]
fn childs_ref(&self) -> Vec<Resolvable<'_, E>>
[src]
fn into_childs<'a>(self: Box<Self>) -> Vec<Resolvable<'a, E>> where
Self: 'a,
[src]
Self: 'a,
fn focusable(&self) -> bool
[src]
fn child(&self, i: usize) -> Result<Resolvable<'_, E>, ()>
[src]
fn into_child<'a>(self: Box<Self>, i: usize) -> Result<Resolvable<'a, E>, ()> where
Self: 'a,
[src]
Self: 'a,
unsafe fn _as_trait_ref<'impl_traitcast_lt_a>(
&'impl_traitcast_lt_a self,
t: TypeId
) -> Option<TraitObject>
[src]
&'impl_traitcast_lt_a self,
t: TypeId
) -> Option<TraitObject>
impl<'w, E, State, Text> Widget<E> for CheckBox<'w, E, State, Text> where
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
E::Context: CtxStdState<E>,
State: AtomState<E, bool>,
Text: AsWidget<E>,
[src]
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
E::Context: CtxStdState<E>,
State: AtomState<E, bool>,
Text: AsWidget<E>,
fn child_paths(&self, _: E::WidgetPath) -> Vec<E::WidgetPath>
[src]
fn id(&self) -> E::WidgetID
[src]
fn _render(&self, l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
fn _event_direct(&self, l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
fn _size(&self, l: Link<'_, E>, e: &EStyle<E>) -> ESize<E>
[src]
fn childs(&self) -> usize
[src]
fn childs_ref(&self) -> Vec<Resolvable<'_, E>>
[src]
fn into_childs<'a>(self: Box<Self>) -> Vec<Resolvable<'a, E>> where
Self: 'a,
[src]
Self: 'a,
fn child_bounds(
&self,
_: Link<'_, E>,
_: &Bounds,
e: &EStyle<E>,
_: bool
) -> Result<Vec<Bounds>, ()>
[src]
&self,
_: Link<'_, E>,
_: &Bounds,
e: &EStyle<E>,
_: bool
) -> Result<Vec<Bounds>, ()>
fn focusable(&self) -> bool
[src]
fn child(&self, i: usize) -> Result<Resolvable<'_, E>, ()>
[src]
fn into_child<'a>(self: Box<Self>, i: usize) -> Result<Resolvable<'a, E>, ()> where
Self: 'a,
[src]
Self: 'a,
unsafe fn _as_trait_ref<'impl_traitcast_lt_a>(
&'impl_traitcast_lt_a self,
t: TypeId
) -> Option<TraitObject>
[src]
&'impl_traitcast_lt_a self,
t: TypeId
) -> Option<TraitObject>
impl<'w, E, T> Widget<E> for Pane<'w, E, T> where
E: Env,
T: WidgetArray<E>,
[src]
E: Env,
T: WidgetArray<E>,
fn id(&self) -> E::WidgetID
[src]
fn _render(&self, l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
fn _event_direct(&self, l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
fn _size(&self, l: Link<'_, E>, e: &EStyle<E>) -> ESize<E>
[src]
fn child_bounds(
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
[src]
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
fn childs(&self) -> usize
[src]
fn childs_ref(&self) -> Vec<Resolvable<'_, E>>
[src]
fn into_childs<'a>(self: Box<Self>) -> Vec<Resolvable<'a, E>> where
Self: 'a,
[src]
Self: 'a,
fn focusable(&self) -> bool
[src]
fn child(&self, i: usize) -> Result<Resolvable<'_, E>, ()>
[src]
fn into_child<'a>(self: Box<Self>, i: usize) -> Result<Resolvable<'a, E>, ()> where
Self: 'a,
[src]
Self: 'a,
impl<'w, E, Text> Widget<E> for Button<'w, E, Text> where
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
E::Context: CtxStdState<E>,
Text: AsWidget<E>,
[src]
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
E::Context: CtxStdState<E>,
Text: AsWidget<E>,
fn child_paths(&self, _: E::WidgetPath) -> Vec<E::WidgetPath>
[src]
fn id(&self) -> E::WidgetID
[src]
fn _render(&self, l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
fn _event_direct(&self, l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
fn _size(&self, l: Link<'_, E>, e: &EStyle<E>) -> ESize<E>
[src]
fn childs(&self) -> usize
[src]
fn childs_ref(&self) -> Vec<Resolvable<'_, E>>
[src]
fn into_childs<'a>(self: Box<Self>) -> Vec<Resolvable<'a, E>> where
Self: 'a,
[src]
Self: 'a,
fn child_bounds(
&self,
_: Link<'_, E>,
_: &Bounds,
e: &EStyle<E>,
_: bool
) -> Result<Vec<Bounds>, ()>
[src]
&self,
_: Link<'_, E>,
_: &Bounds,
e: &EStyle<E>,
_: bool
) -> Result<Vec<Bounds>, ()>
fn focusable(&self) -> bool
[src]
fn child(&self, i: usize) -> Result<Resolvable<'_, E>, ()>
[src]
fn into_child<'a>(self: Box<Self>, i: usize) -> Result<Resolvable<'a, E>, ()> where
Self: 'a,
[src]
Self: 'a,
impl<'w, E, Text, GlyphCache> Widget<E> for Label<'w, E, Text, GlyphCache> where
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
Text: Caption<E> + Validation<E> + 'w,
GlyphCache: AtomState<E, LocalGlyphCache<E>> + Clone,
[src]
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
Text: Caption<E> + Validation<E> + 'w,
GlyphCache: AtomState<E, LocalGlyphCache<E>> + Clone,
fn child_paths(&self, _: E::WidgetPath) -> Vec<E::WidgetPath>
[src]
fn id(&self) -> E::WidgetID
[src]
fn _render(&self, l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
fn _event_direct(&self, _: Link<'_, E>, _: &EventCompound<E>) -> EventResp
[src]
fn _size(&self, l: Link<'_, E>, _: &EStyle<E>) -> ESize<E>
[src]
fn childs(&self) -> usize
[src]
fn childs_ref(&self) -> Vec<Resolvable<'_, E>>
[src]
fn into_childs<'a>(self: Box<Self>) -> Vec<Resolvable<'a, E>> where
Self: 'a,
[src]
Self: 'a,
fn child_bounds(
&self,
_: Link<'_, E>,
_: &Bounds,
e: &EStyle<E>,
_: bool
) -> Result<Vec<Bounds>, ()>
[src]
&self,
_: Link<'_, E>,
_: &Bounds,
e: &EStyle<E>,
_: bool
) -> Result<Vec<Bounds>, ()>
fn focusable(&self) -> bool
[src]
fn child(&self, _: usize) -> Result<Resolvable<'_, E>, ()>
[src]
fn into_child<'a>(self: Box<Self>, _: usize) -> Result<Resolvable<'a, E>, ()> where
Self: 'a,
[src]
Self: 'a,
unsafe fn _as_trait_ref<'impl_traitcast_lt_a>(
&'impl_traitcast_lt_a self,
t: TypeId
) -> Option<TraitObject>
[src]
&'impl_traitcast_lt_a self,
t: TypeId
) -> Option<TraitObject>
impl<'w, E, Text, Scroll, Curs, CursorStickX, GlyphCache> Widget<E> for TextBox<'w, E, Text, Scroll, Curs, CursorStickX, GlyphCache> where
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
E::Context: CtxStdState<E> + CtxClipboardAccess<E>,
Text: Caption<E> + Validation<E> + 'w,
Scroll: AtomState<E, (u32, u32)>,
Curs: AtomState<E, Cursor>,
CursorStickX: AtomState<E, Option<u32>>,
GlyphCache: AtomState<E, LocalGlyphCache<E>> + Clone,
[src]
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
E::Context: CtxStdState<E> + CtxClipboardAccess<E>,
Text: Caption<E> + Validation<E> + 'w,
Scroll: AtomState<E, (u32, u32)>,
Curs: AtomState<E, Cursor>,
CursorStickX: AtomState<E, Option<u32>>,
GlyphCache: AtomState<E, LocalGlyphCache<E>> + Clone,
fn child_paths(&self, _: E::WidgetPath) -> Vec<E::WidgetPath>
[src]
fn id(&self) -> E::WidgetID
[src]
fn _render(&self, l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
fn _event_direct(&self, l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
fn _size(&self, _: Link<'_, E>, e: &EStyle<E>) -> ESize<E>
[src]
fn childs(&self) -> usize
[src]
fn childs_ref(&self) -> Vec<Resolvable<'_, E>>
[src]
fn into_childs<'a>(self: Box<Self>) -> Vec<Resolvable<'a, E>> where
Self: 'a,
[src]
Self: 'a,
fn child_bounds(
&self,
_: Link<'_, E>,
_: &Bounds,
e: &EStyle<E>,
_: bool
) -> Result<Vec<Bounds>, ()>
[src]
&self,
_: Link<'_, E>,
_: &Bounds,
e: &EStyle<E>,
_: bool
) -> Result<Vec<Bounds>, ()>
fn focusable(&self) -> bool
[src]
fn child(&self, _: usize) -> Result<Resolvable<'_, E>, ()>
[src]
fn into_child<'a>(self: Box<Self>, _: usize) -> Result<Resolvable<'a, E>, ()> where
Self: 'a,
[src]
Self: 'a,
unsafe fn _as_trait_ref<'impl_traitcast_lt_a>(
&'impl_traitcast_lt_a self,
t: TypeId
) -> Option<TraitObject>
[src]
&'impl_traitcast_lt_a self,
t: TypeId
) -> Option<TraitObject>
impl<'w, E, W, Scroll> Widget<E> for Area<'w, E, W, Scroll> where
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
E::Context: CtxStdState<E> + CtxClipboardAccess<E>,
W: AsWidget<E> + 'w,
Scroll: AtomState<E, (u32, u32)>,
[src]
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
E::Context: CtxStdState<E> + CtxClipboardAccess<E>,
W: AsWidget<E> + 'w,
Scroll: AtomState<E, (u32, u32)>,
fn id(&self) -> E::WidgetID
[src]
fn _render(&self, l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
fn _event_direct(&self, l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
fn _size(&self, _: Link<'_, E>, e: &EStyle<E>) -> ESize<E>
[src]
fn childs(&self) -> usize
[src]
fn childs_ref(&self) -> Vec<Resolvable<'_, E>>
[src]
fn into_childs<'a>(self: Box<Self>) -> Vec<Resolvable<'a, E>> where
Self: 'a,
[src]
Self: 'a,
fn child_bounds(
&self,
_: Link<'_, E>,
_: &Bounds,
e: &EStyle<E>,
_: bool
) -> Result<Vec<Bounds>, ()>
[src]
&self,
_: Link<'_, E>,
_: &Bounds,
e: &EStyle<E>,
_: bool
) -> Result<Vec<Bounds>, ()>
fn focusable(&self) -> bool
[src]
fn child(&self, i: usize) -> Result<Resolvable<'_, E>, ()>
[src]
fn into_child<'a>(self: Box<Self>, i: usize) -> Result<Resolvable<'w, E>, ()> where
Self: 'a,
[src]
Self: 'a,
unsafe fn _as_trait_ref<'impl_traitcast_lt_a>(
&'impl_traitcast_lt_a self,
t: TypeId
) -> Option<TraitObject>
[src]
&'impl_traitcast_lt_a self,
t: TypeId
) -> Option<TraitObject>
impl<E> Widget<E> for &(dyn Widget<E> + '_) where
E: Env,
[src]
E: Env,
fn id(&self) -> E::WidgetID
[src]
fn _render(&self, l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
fn _event_direct(&self, l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
fn _size(&self, l: Link<'_, E>, e: &EStyle<E>) -> ESize<E>
[src]
fn childs(&self) -> usize
[src]
fn childs_ref(&self) -> Vec<Resolvable<'_, E>>
[src]
fn into_childs<'w>(self: Box<Self>) -> Vec<Resolvable<'w, E>> where
Self: 'w,
[src]
Self: 'w,
fn child_bounds(
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
[src]
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
fn focusable(&self) -> bool
[src]
fn child_paths(&self, own_path: E::WidgetPath) -> Vec<E::WidgetPath>
[src]
fn resolve(&self, i: E::WidgetPath) -> Result<Resolvable<'_, E>, GuionError<E>>
[src]
fn into_resolve<'w>(
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, E>, GuionError<E>> where
Self: 'w,
[src]
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, E>, GuionError<E>> where
Self: 'w,
fn resolve_child(
&self,
p: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
[src]
&self,
p: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
fn trace_bounds(
&self,
l: Link<'_, E>,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
[src]
&self,
l: Link<'_, E>,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
fn in_parent_path(&self, parent: E::WidgetPath) -> E::WidgetPath
[src]
fn resolved_by_path(
&self,
sub_path: &E::WidgetPath
) -> Option<ResolvesThruResult<E>>
[src]
&self,
sub_path: &E::WidgetPath
) -> Option<ResolvesThruResult<E>>
fn _focus_on_mouse_down(&self) -> bool
[src]
fn _tabulate_by_tab(&self) -> bool
[src]
fn debug_type_name(&self, dest: &mut Vec<&'static str>)
[src]
fn inner(&self) -> Option<&dyn Widget<E>>
[src]
fn child(&self, i: usize) -> Result<Resolvable<'_, E>, ()>
[src]
fn into_child<'w>(self: Box<Self>, i: usize) -> Result<Resolvable<'w, E>, ()> where
Self: 'w,
[src]
Self: 'w,
fn box_ref(&self) -> WidgetRef<'_, E>
[src]
fn box_box<'w>(self: Box<Self>) -> WidgetRef<'w, E> where
Self: 'w,
[src]
Self: 'w,
fn boxed<'w>(self) -> WidgetRef<'w, E> where
Self: Sized + 'w,
[src]
Self: Sized + 'w,
impl<E> Widget<E> for &(dyn WidgetMut<E> + '_) where
E: Env,
[src]
E: Env,
fn id(&self) -> E::WidgetID
[src]
fn _render(&self, l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
fn _event_direct(&self, l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
fn _size(&self, l: Link<'_, E>, e: &EStyle<E>) -> ESize<E>
[src]
fn childs(&self) -> usize
[src]
fn childs_ref(&self) -> Vec<Resolvable<'_, E>>
[src]
fn into_childs<'w>(self: Box<Self>) -> Vec<Resolvable<'w, E>> where
Self: 'w,
[src]
Self: 'w,
fn child_bounds(
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
[src]
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
fn focusable(&self) -> bool
[src]
fn child_paths(&self, own_path: E::WidgetPath) -> Vec<E::WidgetPath>
[src]
fn resolve(&self, i: E::WidgetPath) -> Result<Resolvable<'_, E>, GuionError<E>>
[src]
fn into_resolve<'w>(
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, E>, GuionError<E>> where
Self: 'w,
[src]
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, E>, GuionError<E>> where
Self: 'w,
fn resolve_child(
&self,
p: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
[src]
&self,
p: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
fn trace_bounds(
&self,
l: Link<'_, E>,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
[src]
&self,
l: Link<'_, E>,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
fn in_parent_path(&self, parent: E::WidgetPath) -> E::WidgetPath
[src]
fn resolved_by_path(
&self,
sub_path: &E::WidgetPath
) -> Option<ResolvesThruResult<E>>
[src]
&self,
sub_path: &E::WidgetPath
) -> Option<ResolvesThruResult<E>>
fn _focus_on_mouse_down(&self) -> bool
[src]
fn _tabulate_by_tab(&self) -> bool
[src]
fn debug_type_name(&self, dest: &mut Vec<&'static str>)
[src]
fn inner(&self) -> Option<&dyn Widget<E>>
[src]
fn child(&self, i: usize) -> Result<Resolvable<'_, E>, ()>
[src]
fn into_child<'w>(self: Box<Self>, i: usize) -> Result<Resolvable<'w, E>, ()> where
Self: 'w,
[src]
Self: 'w,
fn box_ref(&self) -> WidgetRef<'_, E>
[src]
fn box_box<'w>(self: Box<Self>) -> WidgetRef<'w, E> where
Self: 'w,
[src]
Self: 'w,
fn boxed<'w>(self) -> WidgetRef<'w, E> where
Self: Sized + 'w,
[src]
Self: Sized + 'w,
impl<E> Widget<E> for &mut (dyn Widget<E> + '_) where
E: Env,
[src]
E: Env,
fn id(&self) -> E::WidgetID
[src]
fn _render(&self, l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
fn _event_direct(&self, l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
fn _size(&self, l: Link<'_, E>, e: &EStyle<E>) -> ESize<E>
[src]
fn childs(&self) -> usize
[src]
fn childs_ref(&self) -> Vec<Resolvable<'_, E>>
[src]
fn into_childs<'w>(self: Box<Self>) -> Vec<Resolvable<'w, E>> where
Self: 'w,
[src]
Self: 'w,
fn child_bounds(
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
[src]
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
fn focusable(&self) -> bool
[src]
fn child_paths(&self, own_path: E::WidgetPath) -> Vec<E::WidgetPath>
[src]
fn resolve(&self, i: E::WidgetPath) -> Result<Resolvable<'_, E>, GuionError<E>>
[src]
fn into_resolve<'w>(
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, E>, GuionError<E>> where
Self: 'w,
[src]
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, E>, GuionError<E>> where
Self: 'w,
fn resolve_child(
&self,
p: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
[src]
&self,
p: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
fn trace_bounds(
&self,
l: Link<'_, E>,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
[src]
&self,
l: Link<'_, E>,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
fn in_parent_path(&self, parent: E::WidgetPath) -> E::WidgetPath
[src]
fn resolved_by_path(
&self,
sub_path: &E::WidgetPath
) -> Option<ResolvesThruResult<E>>
[src]
&self,
sub_path: &E::WidgetPath
) -> Option<ResolvesThruResult<E>>
fn _focus_on_mouse_down(&self) -> bool
[src]
fn _tabulate_by_tab(&self) -> bool
[src]
fn debug_type_name(&self, dest: &mut Vec<&'static str>)
[src]
fn inner(&self) -> Option<&dyn Widget<E>>
[src]
fn child(&self, i: usize) -> Result<Resolvable<'_, E>, ()>
[src]
fn into_child<'w>(self: Box<Self>, i: usize) -> Result<Resolvable<'w, E>, ()> where
Self: 'w,
[src]
Self: 'w,
fn box_ref(&self) -> WidgetRef<'_, E>
[src]
fn box_box<'w>(self: Box<Self>) -> WidgetRef<'w, E> where
Self: 'w,
[src]
Self: 'w,
fn boxed<'w>(self) -> WidgetRef<'w, E> where
Self: Sized + 'w,
[src]
Self: Sized + 'w,
impl<E> Widget<E> for &mut (dyn WidgetMut<E> + '_) where
E: Env,
[src]
E: Env,
fn id(&self) -> E::WidgetID
[src]
fn _render(&self, l: Link<'_, E>, r: &mut RenderLink<'_, E>)
[src]
fn _event_direct(&self, l: Link<'_, E>, e: &EventCompound<E>) -> EventResp
[src]
fn _size(&self, l: Link<'_, E>, e: &EStyle<E>) -> ESize<E>
[src]
fn childs(&self) -> usize
[src]
fn childs_ref(&self) -> Vec<Resolvable<'_, E>>
[src]
fn into_childs<'w>(self: Box<Self>) -> Vec<Resolvable<'w, E>> where
Self: 'w,
[src]
Self: 'w,
fn child_bounds(
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
[src]
&self,
l: Link<'_, E>,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Vec<Bounds>, ()>
fn focusable(&self) -> bool
[src]
fn child_paths(&self, own_path: E::WidgetPath) -> Vec<E::WidgetPath>
[src]
fn resolve(&self, i: E::WidgetPath) -> Result<Resolvable<'_, E>, GuionError<E>>
[src]
fn into_resolve<'w>(
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, E>, GuionError<E>> where
Self: 'w,
[src]
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, E>, GuionError<E>> where
Self: 'w,
fn resolve_child(
&self,
p: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
[src]
&self,
p: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
fn trace_bounds(
&self,
l: Link<'_, E>,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
[src]
&self,
l: Link<'_, E>,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
fn in_parent_path(&self, parent: E::WidgetPath) -> E::WidgetPath
[src]
fn resolved_by_path(
&self,
sub_path: &E::WidgetPath
) -> Option<ResolvesThruResult<E>>
[src]
&self,
sub_path: &E::WidgetPath
) -> Option<ResolvesThruResult<E>>
fn _focus_on_mouse_down(&self) -> bool
[src]
fn _tabulate_by_tab(&self) -> bool
[src]
fn debug_type_name(&self, dest: &mut Vec<&'static str>)
[src]
fn inner(&self) -> Option<&dyn Widget<E>>
[src]
fn child(&self, i: usize) -> Result<Resolvable<'_, E>, ()>
[src]
fn into_child<'w>(self: Box<Self>, i: usize) -> Result<Resolvable<'w, E>, ()> where
Self: 'w,
[src]
Self: 'w,
fn box_ref(&self) -> WidgetRef<'_, E>
[src]
fn box_box<'w>(self: Box<Self>) -> WidgetRef<'w, E> where
Self: 'w,
[src]
Self: 'w,
fn boxed<'w>(self) -> WidgetRef<'w, E> where
Self: Sized + 'w,
[src]
Self: Sized + 'w,