Struct cursive::views::ViewBox[][src]

pub struct ViewBox { /* fields omitted */ }

A boxed View.

It derefs to the wrapped view.

Methods

impl ViewBox
[src]

Creates a new ViewBox around the given boxed view.

Box the given view

Important traits for Box<R>

Returns the inner boxed view.

Trait Implementations

impl Deref for ViewBox
[src]

The resulting type after dereferencing.

Dereferences the value.

impl DerefMut for ViewBox
[src]

Mutably dereferences the value.

impl ViewWrapper for ViewBox
[src]

Type that this view wraps.

Runs a function on the inner view, returning the result. Read more

Runs a function on the inner view, returning the result. Read more

Attempts to retrieve the inner view.

Wraps the draw method.

Wraps the required_size method.

Wraps the on_event method.

Wraps the layout method.

Wraps the take_focus method.

Wraps the find method.

Wraps the focus_view method.

Wraps the needs_relayout method.

Wraps the important_area method.

Auto Trait Implementations

impl !Send for ViewBox

impl !Sync for ViewBox