pub struct DiskTableWidget {
pub table: DataTable<DiskWidgetData, DiskColumn, Sortable, SortColumn<DiskColumn>>,
pub force_update_data: bool,
}
Fields§
§table: DataTable<DiskWidgetData, DiskColumn, Sortable, SortColumn<DiskColumn>>
§force_update_data: bool
Implementations§
Source§impl DiskTableWidget
impl DiskTableWidget
pub fn new( config: &AppConfigFields, palette: &Styles, columns: Option<&[DiskColumn]>, ) -> Self
Sourcepub fn force_data_update(&mut self)
pub fn force_data_update(&mut self)
Forces an update of the data stored.
Sourcepub fn set_table_data(&mut self, data: &StoredData)
pub fn set_table_data(&mut self, data: &StoredData)
Update the current table data.
pub fn set_index(&mut self, index: usize)
Auto Trait Implementations§
impl Freeze for DiskTableWidget
impl RefUnwindSafe for DiskTableWidget
impl Send for DiskTableWidget
impl Sync for DiskTableWidget
impl Unpin for DiskTableWidget
impl UnwindSafe for DiskTableWidget
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