2 grid
::config
::ColoredConfig
,
3 grid
::records
::{ExactRecords, Records, RecordsMut, Resizable}
,
9 /// Footer renders a [`Panel`] at the bottom.
12 pub struct Footer
<S
>(S
);
15 /// Creates a new object.
16 pub fn new(text
: S
) -> Self
24 impl<S
, R
, D
> TableOption
<R
, D
, ColoredConfig
> for Footer
<S
>
27 R
: Records
+ ExactRecords
+ Resizable
+ RecordsMut
<String
>,
29 fn change(self, records
: &mut R
, cfg
: &mut ColoredConfig
, dimension
: &mut D
) {
30 Panel
::horizontal(records
.count_rows(), self.0.as_ref()).change(records
, cfg
, dimension
);