Struct guion::widgets::splitpane::SplitPane[][src]

pub struct SplitPane<'w, E, L, R, V> where
    E: Env,
    L: 'w,
    R: 'w,
    V: 'w, 
{ pub childs: (L, R), pub state: V, pub orientation: Orientation, pub width: u32, pub style: EStyle<E>, // some fields omitted }

Fields

childs: (L, R)state: Vorientation: Orientationwidth: u32style: 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]

pub fn new(
    id: E::WidgetID,
    orientation: Orientation,
    state: V,
    childs: (L, R)
) -> Self
[src]

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]

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]

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

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

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

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

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]

impl<E, T> AsWidget<E> for T where
    E: Env,
    T: Widget<E>, 
[src]

impl<E, T> AsWidgetMut<E> for T where
    E: Env,
    T: WidgetMut<E>, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> FromInto<U> for T where
    T: From<U> + Into<U>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'_, S, T, E> StyleSelectorAppend<&'_ S, E> for T where
    T: StyleSelectorAppend<S, E>,
    S: StyleSelectag<E>, 
[src]

impl<'a, S, T, E> StyleSelectorAppend<&'a [S], E> for T where
    T: StyleSelectorAppend<S, E>,
    S: StyleSelectag<E>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.