Struct cursive::views::SizedView [] [src]

pub struct SizedView<T: View> {
    pub view: T,
    pub size: Vec2,
}

Wrapper around a view that remembers its size.

Fields

Wrapped view.

Cached size from the last layout() call.

Methods

impl<T: View> SizedView<T>
[src]

Wraps the given view.

Trait Implementations

impl<T: View> ViewWrapper for SizedView<T>
[src]

Get an immutable reference to the wrapped view.

Get a mutable reference to the wrapped view.

Wraps the layout method.

Wraps the draw method.

Wraps the get_min_size method.

Wraps the on_event method.

Wraps the take_focus method.

Wraps the find method.

Wraps the needs_relayout method.