[][src]Struct kas::widget::Frame

pub struct Frame<W: Widget> { /* fields omitted */ }

A frame around content

This widget provides a simple abstraction: drawing a frame around its contents.

Implementations

impl<W: Widget> Frame<W>[src]

pub fn new(child: W) -> Self[src]

Construct a frame

Trait Implementations

impl<W: Clone + Widget> Clone for Frame<W>[src]

impl<W: Debug + Widget> Debug for Frame<W>[src]

impl<W: Default + Widget> Default for Frame<W>[src]

impl<W: Widget> Handler for Frame<W>[src]

type Msg = <W as Handler>::Msg

Type of message returned by this widget Read more

impl<W: HasBool + Widget> HasBool for Frame<W>[src]

impl<W: HasStr + Widget> HasStr for Frame<W>[src]

impl<W: HasString + Widget> HasString for Frame<W>[src]

impl<W: Widget> Layout for Frame<W>[src]

impl<W: Widget> SendEvent for Frame<W>[src]

impl<W: SetAccel + Widget> SetAccel for Frame<W>[src]

impl<W: Widget> Widget for Frame<W>[src]

impl<W: Widget> WidgetChildren for Frame<W>[src]

impl<W: Widget> WidgetConfig for Frame<W>[src]

impl<W: Widget> WidgetCore for Frame<W>[src]

Auto Trait Implementations

impl<W> RefUnwindSafe for Frame<W> where
    W: RefUnwindSafe

impl<W> Send for Frame<W> where
    W: Send

impl<W> Sync for Frame<W> where
    W: Sync

impl<W> Unpin for Frame<W> where
    W: Unpin

impl<W> UnwindSafe for Frame<W> where
    W: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[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> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.