Struct guion::widgets::splitpane::SplitPane [−][src]
Fields
childs: (L, R)
state: V
orientation: Orientation
width: u32
style: EStyle<E>
Implementations
impl<'w, E, L, R, V> SplitPane<'w, E, L, R, V> where
E: Env,
L: 'w,
R: 'w,
V: 'w,
[src]
E: Env,
L: 'w,
R: 'w,
V: 'w,
pub fn new(
id: E::WidgetID,
orientation: Orientation,
state: V,
childs: (L, R)
) -> Self
[src]
id: E::WidgetID,
orientation: Orientation,
state: V,
childs: (L, R)
) -> Self
pub fn with_style(self, style: EStyle<E>) -> Self
[src]
Trait Implementations
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>
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>>
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,
sub_path: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
[src]
&self,
sub_path: &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 _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 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]
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 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<'w, E, L, R, V> WidgetMut<E> for SplitPane<'w, E, L, R, V> where
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
E::Context: CtxStdState<E>,
L: AsWidgetMut<E>,
R: AsWidgetMut<E>,
V: AtomStateMut<E, f32>,
[src]
E: Env,
ERenderer<E>: RenderStdWidgets<E>,
EEvent<E>: StdVarSup<E>,
E::Context: CtxStdState<E>,
L: AsWidgetMut<E>,
R: AsWidgetMut<E>,
V: AtomStateMut<E, f32>,
fn _set_invalid(&mut self, v: bool)
[src]
fn childs_mut(&mut self) -> Vec<ResolvableMut<'_, E>>
[src]
fn into_childs_mut<'a>(self: Box<Self>) -> Vec<ResolvableMut<'a, E>> where
Self: 'a,
[src]
Self: 'a,
fn child_mut(&mut self, i: usize) -> Result<ResolvableMut<'_, E>, ()>
[src]
fn into_child_mut<'a>(
self: Box<Self>,
i: usize
) -> Result<ResolvableMut<'a, E>, ()> where
Self: 'a,
[src]
self: Box<Self>,
i: usize
) -> Result<ResolvableMut<'a, E>, ()> where
Self: 'a,
unsafe fn _as_trait_mut<'impl_traitcast_lt_a>(
&'impl_traitcast_lt_a mut self,
t: TypeId
) -> Option<TraitObject>
[src]
&'impl_traitcast_lt_a mut self,
t: TypeId
) -> Option<TraitObject>
fn message(&mut self, m: E::Message)
[src]
fn resolve_mut<'s>(
&'s mut self,
i: E::WidgetPath
) -> Result<ResolvableMut<'s, E>, GuionError<E>>
[src]
&'s mut self,
i: E::WidgetPath
) -> Result<ResolvableMut<'s, E>, GuionError<E>>
fn into_resolve_mut<'w>(
self: Box<Self>,
i: E::WidgetPath
) -> Result<ResolvableMut<'w, E>, GuionError<E>> where
Self: 'w,
[src]
self: Box<Self>,
i: E::WidgetPath
) -> Result<ResolvableMut<'w, E>, GuionError<E>> where
Self: 'w,
fn resolve_child_mut(
&mut self,
sub_path: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
[src]
&mut self,
sub_path: &E::WidgetPath
) -> Result<(usize, E::WidgetPath), GuionError<E>>
fn inner_mut(&mut self) -> Option<&mut dyn WidgetMut<E>>
[src]
fn pass(self) -> Self where
Self: Sized,
[src]
Self: Sized,
fn debug_type_name_mut(&mut self, dest: &mut Vec<&'static str>)
[src]
fn debugged_type_name_mut(&mut self) -> Vec<&'static str>
[src]
fn box_mut<'s>(&'s mut self) -> WidgetRefMut<'s, E>
[src]
fn box_box_mut<'w>(self: Box<Self>) -> WidgetRefMut<'w, E> where
Self: 'w,
[src]
Self: 'w,
fn boxed_mut<'w>(self) -> WidgetRefMut<'w, E> where
Self: Sized + 'w,
[src]
Self: Sized + 'w,
fn gen_diag_error_resolve_fail_mut(
&mut self,
sub_path: &E::WidgetPath,
op: &'static str
) -> GuionError<E>
[src]
&mut self,
sub_path: &E::WidgetPath,
op: &'static str
) -> GuionError<E>
Auto Trait Implementations
impl<'w, E, L, R, V> RefUnwindSafe for SplitPane<'w, E, L, R, V> where
L: RefUnwindSafe,
R: RefUnwindSafe,
V: RefUnwindSafe,
<<E as Env>::Backend as Backend<E>>::Style: RefUnwindSafe,
<E as Env>::WidgetID: RefUnwindSafe,
L: RefUnwindSafe,
R: RefUnwindSafe,
V: RefUnwindSafe,
<<E as Env>::Backend as Backend<E>>::Style: RefUnwindSafe,
<E as Env>::WidgetID: RefUnwindSafe,
impl<'w, E, L, R, V> Send for SplitPane<'w, E, L, R, V> where
L: Send,
R: Send,
V: Send,
<<E as Env>::Backend as Backend<E>>::Style: Send,
<E as Env>::WidgetID: Send,
L: Send,
R: Send,
V: Send,
<<E as Env>::Backend as Backend<E>>::Style: Send,
<E as Env>::WidgetID: Send,
impl<'w, E, L, R, V> Sync for SplitPane<'w, E, L, R, V> where
L: Sync,
R: Sync,
V: Sync,
<<E as Env>::Backend as Backend<E>>::Style: Sync,
<E as Env>::WidgetID: Sync,
L: Sync,
R: Sync,
V: Sync,
<<E as Env>::Backend as Backend<E>>::Style: Sync,
<E as Env>::WidgetID: Sync,
impl<'w, E, L, R, V> Unpin for SplitPane<'w, E, L, R, V> where
L: Unpin,
R: Unpin,
V: Unpin,
<<E as Env>::Backend as Backend<E>>::Style: Unpin,
<E as Env>::WidgetID: Unpin,
L: Unpin,
R: Unpin,
V: Unpin,
<<E as Env>::Backend as Backend<E>>::Style: Unpin,
<E as Env>::WidgetID: Unpin,
impl<'w, E, L, R, V> !UnwindSafe for SplitPane<'w, E, L, R, V>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<E, T> AsWidget<E> for T where
E: Env,
T: Widget<E>,
[src]
E: Env,
T: Widget<E>,
pub fn as_ref(&Self) -> Resolvable<'_, E>
[src]
pub fn into_ref<'w>(Self) -> Resolvable<'w, E> where
T: 'w,
[src]
T: 'w,
impl<E, T> AsWidgetMut<E> for T where
E: Env,
T: WidgetMut<E>,
[src]
E: Env,
T: WidgetMut<E>,
pub fn as_mut(&mut Self) -> ResolvableMut<'_, E>
[src]
pub fn into_mut<'w>(Self) -> ResolvableMut<'w, E> where
T: 'w,
[src]
T: 'w,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> FromInto<U> for T where
T: From<U> + Into<U>,
[src]
T: From<U> + Into<U>,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'_, S, T, E> StyleSelectorAppend<&'_ S, E> for T where
T: StyleSelectorAppend<S, E>,
S: StyleSelectag<E>,
[src]
T: StyleSelectorAppend<S, E>,
S: StyleSelectag<E>,
pub fn append(&mut Self, &S)
[src]
fn with(&self, selectag: S) -> Self where
Self: Sized,
[src]
Self: Sized,
fn from(selectag: S) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a, S, T, E> StyleSelectorAppend<&'a [S], E> for T where
T: StyleSelectorAppend<S, E>,
S: StyleSelectag<E>,
[src]
T: StyleSelectorAppend<S, E>,
S: StyleSelectag<E>,
pub fn append(&mut Self, &[S])
[src]
fn with(&self, selectag: S) -> Self where
Self: Sized,
[src]
Self: Sized,
fn from(selectag: S) -> Self where
Self: Sized,
[src]
Self: Sized,
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.
pub 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>,