Struct guion::widgets::area::Area[][src]

pub struct Area<'w, E, W, Scroll> where
    E: Env,
    W: 'w,
    Scroll: 'w, 
{ pub size: ESize<E>, pub style: EStyle<E>, pub inner: W, pub scroll: Scroll, // some fields omitted }

Fields

size: ESize<E>style: EStyle<E>inner: Wscroll: Scroll

Implementations

impl<'w, E, W> Area<'w, E, W, (u32, u32)> where
    E: Env,
    W: 'w, 
[src]

pub fn new(id: E::WidgetID, inner: W) -> Self[src]

impl<'w, E, W, Scroll> Area<'w, E, W, Scroll> where
    E: Env,
    W: 'w,
    Scroll: 'w, 
[src]

pub fn with_state<PScroll>(self, scroll: PScroll) -> Area<'w, E, W, PScroll> where
    PScroll: 'w, 
[src]

pub fn with_size(self, s: ESize<E>) -> Self[src]

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

Trait Implementations

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]

impl<'w, E, W, Scroll> WidgetMut<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: AsWidgetMut<E> + 'w,
    Scroll: AtomStateMut<E, (u32, u32)>, 
[src]

Auto Trait Implementations

impl<'w, E, W, Scroll> RefUnwindSafe for Area<'w, E, W, Scroll> where
    Scroll: RefUnwindSafe,
    W: RefUnwindSafe,
    <<E as Env>::Backend as Backend<E>>::Size: RefUnwindSafe,
    <<E as Env>::Backend as Backend<E>>::Style: RefUnwindSafe,
    <E as Env>::WidgetID: RefUnwindSafe

impl<'w, E, W, Scroll> Send for Area<'w, E, W, Scroll> where
    Scroll: Send,
    W: Send,
    <<E as Env>::Backend as Backend<E>>::Size: Send,
    <<E as Env>::Backend as Backend<E>>::Style: Send,
    <E as Env>::WidgetID: Send

impl<'w, E, W, Scroll> Sync for Area<'w, E, W, Scroll> where
    Scroll: Sync,
    W: Sync,
    <<E as Env>::Backend as Backend<E>>::Size: Sync,
    <<E as Env>::Backend as Backend<E>>::Style: Sync,
    <E as Env>::WidgetID: Sync

impl<'w, E, W, Scroll> Unpin for Area<'w, E, W, Scroll> where
    Scroll: Unpin,
    W: Unpin,
    <<E as Env>::Backend as Backend<E>>::Size: Unpin,
    <<E as Env>::Backend as Backend<E>>::Style: Unpin,
    <E as Env>::WidgetID: Unpin

impl<'w, E, W, Scroll> !UnwindSafe for Area<'w, E, W, Scroll>

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.