Struct cursive::views::TrackedView [] [src]

pub struct TrackedView<T: View> {
    pub view: T,
    // some fields omitted
}

Wrapper around a view that remembers its position.

Fields

Wrapped view.

Methods

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

[src]

Return the last offset at which the view was drawn.

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

[src]

Creates a new TrackedView around view.

[src]

Wraps itself in a IdView for easy retrieval.

Trait Implementations

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

Type that this view wraps.

[src]

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

[src]

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

[src]

Wraps the draw method.

[src]

Wraps the required_size method.

[src]

Wraps the on_event method.

[src]

Wraps the layout method.

[src]

Wraps the take_focus method.

[src]

Wraps the find method.

[src]

Wraps the focus_view method.

[src]

Wraps the needs_relayout method.