pub struct Footer<'a> { /* private fields */ }Implementations§
pub fn new(hints: &'a [Hint<'a>]) -> Self
pub fn status(segments: &'a [Segment<'a>]) -> Self
pub fn notice(self, notice: Option<Notice<'a>>) -> Self
pub fn confirm(self, confirm: Option<ConfirmBar<'a>>) -> Self
pub fn input(self, input: Option<InputBar<'a>>) -> Self
pub fn version(self, name: &'a str, version: &'a str) -> Self
pub fn separator(self, separator: &'a str) -> Self
pub fn gap(self, gap: u16) -> Self
pub fn indent(self, indent: u16) -> Self
pub fn open(self, open: bool) -> Self
pub fn help(self, help: &Help) -> Self
pub fn rule(self, rule: bool) -> Self
pub fn wrap(self, wrap: bool) -> Self
pub fn styles(self, styles: Styles) -> Self
pub fn height(&self, width: u16) -> u16
pub fn shown(&self, key: &str, width: u16) -> bool
pub fn cursor(&self, area: Rect) -> Option<Position>
Trait Implementations§
Auto Trait Implementations§
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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