Struct guion::widgets::pane::Pane[][src]

pub struct Pane<'w, E, T> where
    E: Env,
    T: 'w, 
{ pub childs: T, pub orientation: Orientation, pub style: EStyle<E>, // some fields omitted }

Fields

childs: Torientation: Orientationstyle: EStyle<E>

Implementations

impl<'w, E, T> Pane<'w, E, T> where
    E: Env,
    T: WidgetArray<E>, 
[src]

pub fn _render_impl(&self, l: Link<'_, E>, r: &mut RenderLink<'_, E>) where
    E: Env
[src]

pub fn _event_direct_impl(
    &self,
    l: Link<'_, E>,
    e: &EventCompound<E>
) -> EventResp where
    E: Env
[src]

pub fn _size_impl(&self, l: Link<'_, E>, e: &EStyle<E>) -> ESize<E> where
    E: Env
[src]

pub fn child_bounds_impl(
    &self,
    l: Link<'_, E>,
    b: &Bounds,
    e: &EStyle<E>,
    force: bool
) -> Result<Vec<Bounds>, ()> where
    E: Env
[src]

impl<'w, E, T> Pane<'w, E, T> where
    E: Env,
    T: 'w, 
[src]

pub fn new(id: E::WidgetID, orientation: Orientation, childs: T) -> Self[src]

pub fn with_style(self, style: EStyle<E>) -> Self[src]

Trait Implementations

impl<'w, E, T> Widget<E> for Pane<'w, E, T> where
    E: Env,
    T: WidgetArray<E>, 
[src]

impl<'w, E, T> WidgetMut<E> for Pane<'w, E, T> where
    E: Env,
    T: WidgetArrayMut<E> + 'w, 
[src]

Auto Trait Implementations

impl<'w, E, T> RefUnwindSafe for Pane<'w, E, T> where
    T: RefUnwindSafe,
    <<E as Env>::Backend as Backend<E>>::Style: RefUnwindSafe,
    <E as Env>::WidgetID: RefUnwindSafe

impl<'w, E, T> Send for Pane<'w, E, T> where
    T: Send,
    <<E as Env>::Backend as Backend<E>>::Style: Send,
    <E as Env>::WidgetID: Send

impl<'w, E, T> Sync for Pane<'w, E, T> where
    T: Sync,
    <<E as Env>::Backend as Backend<E>>::Style: Sync,
    <E as Env>::WidgetID: Sync

impl<'w, E, T> Unpin for Pane<'w, E, T> where
    T: Unpin,
    <<E as Env>::Backend as Backend<E>>::Style: Unpin,
    <E as Env>::WidgetID: Unpin

impl<'w, E, T> !UnwindSafe for Pane<'w, E, T>

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.