pub struct CommitListComponent {
pub queue: Queue,
pub selection: usize,
pub search_query: Option<String>,
pub table_state: RefCell<TableState>,
pub limit: usize,
pub details_scroll: usize,
}Fields§
§queue: Queue§selection: usize§search_query: Option<String>§table_state: RefCell<TableState>§limit: usize§details_scroll: usizeImplementations§
Source§impl CommitListComponent
impl CommitListComponent
pub fn details_scroll_up(&mut self)
pub fn details_scroll_down(&mut self)
Trait Implementations§
Source§impl Component for CommitListComponent
impl Component for CommitListComponent
Source§impl Default for CommitListComponent
impl Default for CommitListComponent
Source§fn default() -> CommitListComponent
fn default() -> CommitListComponent
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for CommitListComponent
impl !RefUnwindSafe for CommitListComponent
impl !Send for CommitListComponent
impl !Sync for CommitListComponent
impl !UnwindSafe for CommitListComponent
impl Unpin for CommitListComponent
impl UnsafeUnpin for CommitListComponent
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