[−][src]Struct guion::widgets::pane::Pane
Fields
childs: T
orientation: Orientation
border: Option<Border>
Methods
impl<'w, T, E> Pane<'w, T, E> where
E: Env,
T: Statize + Sized + 'w,
[src]
E: Env,
T: Statize + Sized + 'w,
pub fn new(
id: E::WidgetID,
childs: T,
orientation: Orientation
) -> Pane<'w, T, E>
[src]
id: E::WidgetID,
childs: T,
orientation: Orientation
) -> Pane<'w, T, E>
Trait Implementations
impl<'w, T, E> Widget<'w, E> for Pane<'w, T, E> where
T: WidgetArray<'w, E> + Statize,
T::Statur: Statize + Sized,
E: Env,
[src]
T: WidgetArray<'w, E> + Statize,
T::Statur: Statize + Sized,
E: Env,
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 _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 invalid(&self) -> bool
[src]
fn childs(&self) -> usize
[src]
fn childs_ref<'s>(&'s self) -> Vec<Resolvable<'s, E>> where
'w: 's,
[src]
'w: 's,
fn into_childs(self: Box<Self>) -> Vec<Resolvable<'w, E>>
[src]
fn focusable(&self) -> bool
[src]
fn border(&self, b: &mut Border)
[src]
fn child<'a>(&'a self, i: usize) -> Result<Resolvable<'a, E>, ()> where
'w: 'a,
[src]
'w: 'a,
fn into_child(self: Box<Self>, i: usize) -> Result<Resolvable<'w, 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>, ()> where
'w: 's,
[src]
'w: 's,
fn into_resolve(
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, E>, ()>
[src]
self: Box<Self>,
i: E::WidgetPath
) -> Result<Resolvable<'w, 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 inner<'s>(&'s self) -> Option<&'s dyn Widget<'w, E>>
[src]
fn debug_type_name(&self)
[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,
fn into_child_mut(self: Box<Self>, i: usize) -> Result<ResolvableMut<'w, E>, ()>
[src]
fn resolve_mut<'s>(
&'s mut self,
i: E::WidgetPath,
invalidate: bool
) -> Result<ResolvableMut<'s, E>, ()> where
'w: 's,
[src]
&'s mut self,
i: E::WidgetPath,
invalidate: bool
) -> Result<ResolvableMut<'s, E>, ()> where
'w: 's,
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]
Auto Trait Implementations
impl<'w, T, E> RefUnwindSafe for Pane<'w, T, E> where
T: RefUnwindSafe,
<E as Env>::WidgetID: RefUnwindSafe,
T: RefUnwindSafe,
<E as Env>::WidgetID: RefUnwindSafe,
impl<'w, T, E> Send for Pane<'w, T, E> where
T: Send,
<E as Env>::WidgetID: Send,
T: Send,
<E as Env>::WidgetID: Send,
impl<'w, T, E> Sync for Pane<'w, T, E> where
T: Sync,
<E as Env>::WidgetID: Sync,
T: Sync,
<E as Env>::WidgetID: Sync,
impl<'w, T, E> Unpin for Pane<'w, T, E> where
T: Unpin,
<E as Env>::WidgetID: Unpin,
T: Unpin,
<E as Env>::WidgetID: Unpin,
impl<'w, T, E> !UnwindSafe for Pane<'w, T, E>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<'w, E, T> AsWidget<'w, E> for T where
E: Env,
T: Widget<'w, E>,
[src]
E: Env,
T: Widget<'w, E>,
fn as_ref<'s>(&'s Self) -> Resolvable<'s, E> where
'w: 's,
[src]
'w: 's,
fn into_ref(Self) -> Resolvable<'w, E>
[src]
impl<'w, E, T> AsWidgetMut<'w, E> for T where
E: Env,
T: WidgetMut<'w, E>,
[src]
E: Env,
T: WidgetMut<'w, E>,
fn as_mut<'s>(&'s mut Self) -> ResolvableMut<'s, E> where
'w: 's,
[src]
'w: 's,
fn into_mut(Self) -> ResolvableMut<'w, E>
[src]
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>,