pub struct Pager<W>{ /* private fields */ }๐Deprecated since 1.2.0: merged into form::Form
Expand description
Renders widgets for one page of a GenericLayout.
Implementationsยง
Sourceยงimpl<W> Pager<W>
impl<W> Pager<W>
pub fn new() -> Self
๐Deprecated since 1.2.0: merged into form::Form
Sourcepub fn layout(self, layout: Rc<RefCell<GenericLayout<W>>>) -> Self
๐Deprecated since 1.2.0: merged into form::Form
pub fn layout(self, layout: Rc<RefCell<GenericLayout<W>>>) -> Self
Layout
Sourcepub fn page(self, page: usize) -> Self
๐Deprecated since 1.2.0: merged into form::Form
pub fn page(self, page: usize) -> Self
Display page.
Sourcepub fn style(self, style: Style) -> Self
๐Deprecated since 1.2.0: merged into form::Form
pub fn style(self, style: Style) -> Self
Base style.
Sourcepub fn label_style(self, style: Style) -> Self
๐Deprecated since 1.2.0: merged into form::Form
pub fn label_style(self, style: Style) -> Self
Style for auto-labels.
Sourcepub fn label_alignment(self, alignment: Alignment) -> Self
๐Deprecated since 1.2.0: merged into form::Form
pub fn label_alignment(self, alignment: Alignment) -> Self
Alignment for auto-labels.
Sourcepub fn styles(self, styles: PagerStyle) -> Self
๐Deprecated since 1.2.0: merged into form::Form
pub fn styles(self, styles: PagerStyle) -> Self
Set all styles.
Sourcepub fn into_buffer<'b>(
self,
area: Rect,
buf: Rc<RefCell<&'b mut Buffer>>,
) -> PagerBuffer<'b, W>
๐Deprecated since 1.2.0: merged into form::Form
pub fn into_buffer<'b>( self, area: Rect, buf: Rc<RefCell<&'b mut Buffer>>, ) -> PagerBuffer<'b, W>
Create the second stage.
Trait Implementationsยง
Auto Trait Implementationsยง
impl<W> Freeze for Pager<W>
impl<W> !RefUnwindSafe for Pager<W>
impl<W> !Send for Pager<W>
impl<W> !Sync for Pager<W>
impl<W> Unpin for Pager<W>
impl<W> !UnwindSafe for Pager<W>
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more