pub struct SelectAll;Trait Implementations§
Source§impl TableOperation for SelectAll
impl TableOperation for SelectAll
fn name(&self) -> Cow<'_, str>
fn icon(&self) -> &'static str
fn enabled(&self) -> TableOperationEnablement
fn exec(&mut self, ctx: &mut OperationContext<'_, '_>) -> Result<(), TableError>
fn just_completed(&mut self) -> bool
fn get_name(&self, full: bool) -> Cow<'_, str>
fn refresh_on_completion(&self) -> bool
fn pollable(&self) -> bool
fn is_first_page(&self) -> bool
fn is_last_page(&self) -> bool
fn extra_ui( &mut self, _ui: &mut Ui, _data: &mut TableState, ) -> Result<(), TableError>
fn is_pending(&mut self) -> bool
Source§fn poll(
&mut self,
_ui: &mut Ui,
_data: &mut TableState,
) -> Result<(), TableError>
fn poll( &mut self, _ui: &mut Ui, _data: &mut TableState, ) -> Result<(), TableError>
Routine tick loop, natively fired if
pollable() evaluates to true.fn consume(&mut self) -> Result<(), TableError>
fn error(&self) -> Option<&str>
fn clear_error(&mut self)
fn is_modal_open(&self) -> bool
fn set_modal_open(&mut self, _open: bool)
fn reset(&mut self)
fn pollable_modal(
&mut self,
ui: &mut Ui,
centered: bool,
action: Cow<'_, str>,
action_progressive: Cow<'_, str>,
input_ui: impl FnOnce(&mut Ui, &mut Self) -> Result<(), TableError>,
) -> Result<(), TableError>where
Self: Sized,
fn polled_modal(
&mut self,
ui: &mut Ui,
heading: Cow<'_, str>,
action_progressive: Cow<'_, str>,
input_ui: impl FnOnce(&mut Ui, &mut Self) -> Result<(), TableError>,
) -> Result<(), TableError>where
Self: Sized,
fn poll_allow_execution(&self) -> bool
Source§fn evaluate_enablement(&self, state: &TableState) -> (bool, Cow<'static, str>)
fn evaluate_enablement(&self, state: &TableState) -> (bool, Cow<'static, str>)
Evaluates if the operation is enabled based on the current
TableState,
returning a tuple of (is_enabled, localized_disabled_reason).Auto Trait Implementations§
impl Freeze for SelectAll
impl RefUnwindSafe for SelectAll
impl Send for SelectAll
impl Sync for SelectAll
impl Unpin for SelectAll
impl UnsafeUnpin for SelectAll
impl UnwindSafe for SelectAll
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