pub struct SiloPage { /* private fields */ }Implementations§
Source§impl SiloPage
impl SiloPage
pub fn new(data: SiloData) -> Self
pub fn handle_key(&mut self, key_event: KeyEvent, repo: &KitRepo)
pub fn top(&mut self)
pub fn bottom(&mut self)
pub fn next(&mut self, skip: usize)
pub fn prev(&mut self, skip: usize)
pub fn render_scrollbar(&mut self, frame: &mut Frame<'_>, area: Rect)
pub fn render_churn_table(&mut self, frame: &mut Frame<'_>, area: Rect)
pub fn render_churn_info(&self, frame: &mut Frame<'_>, area: Rect)
pub fn render_foo(&self, frame: &mut Frame<'_>, area: Rect)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SiloPage
impl RefUnwindSafe for SiloPage
impl Send for SiloPage
impl Sync for SiloPage
impl Unpin for SiloPage
impl UnsafeUnpin for SiloPage
impl UnwindSafe for SiloPage
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> 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