Struct cursive::view::FullView
[−]
[src]
pub struct FullView<T: View> { // some fields omitted }
Simple wrapper view that asks for all the space it can get.
Methods
impl<T: View> FullView<T>
[src]
fn new(view: T) -> Self
Wraps the given view into a new FullView.
Trait Implementations
impl<T: View> ViewWrapper for FullView<T>
[src]
fn get_view(&self) -> &View
Get an immutable reference to the wrapped view, so that we can forward some calls to it.
fn get_view_mut(&mut self) -> &mut View
Get a mutable reference to the wrapped view, for the mutable methods.
fn wrap_get_min_size(&self, req: SizeRequest) -> Vec2
Wraps the get_min_size method.
fn wrap_draw(&mut self, printer: &Printer)
Wraps the draw method.
fn wrap_on_event(&mut self, ch: Event) -> EventResult
Wraps the on_event method.
fn wrap_layout(&mut self, size: Vec2)
Wraps the layout method
fn wrap_take_focus(&mut self) -> bool
Wraps the take_focus method