pub trait TableLoader: TableDelegate {
const THRESHOLD: usize = 10;
// Required method
fn load_more(
&mut self,
window: &mut Window,
cx: &mut Context<'_, TableState<Self>>,
);
}Expand description
Trait for defining table loading behavior.
Provided Associated Constants§
Required Methods§
Sourcefn load_more(
&mut self,
window: &mut Window,
cx: &mut Context<'_, TableState<Self>>,
)
fn load_more( &mut self, window: &mut Window, cx: &mut Context<'_, TableState<Self>>, )
Load more data into the table.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".