Struct cursive::views::Panel[][src]

pub struct Panel<V: View> { /* fields omitted */ }

Draws a border around a wrapped view.

Methods

impl<V: View> Panel<V>
[src]

Creates a new panel around the given view.

Important traits for &'a mut R

Gets access to the inner view.

Important traits for &'a mut R

Gets mutable access to the inner view.

Trait Implementations

impl<V: Debug + View> Debug for Panel<V>
[src]

Formats the value using the given formatter. Read more

impl<V: View> ViewWrapper for Panel<V>
[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 on_event method.

Wraps the required_size method.

Wraps the draw method.

Wraps the layout method.

Wraps the important_area method.

Wraps the take_focus method.

Wraps the find method.

Wraps the focus_view method.

Wraps the needs_relayout method.

Auto Trait Implementations

impl<V> Send for Panel<V> where
    V: Send

impl<V> Sync for Panel<V> where
    V: Sync