pub struct DataSourceBuilder { /* private fields */ }Expand description
Builder for the DataSource.
Implementations§
Source§impl DataSourceBuilder
impl DataSourceBuilder
Sourcepub fn new<F, Fut, T>(get_rows: F) -> Self
pub fn new<F, Fut, T>(get_rows: F) -> Self
Start constructing a new DataSourceBuilder by providing a callback
function which will receive GetRowsParams. This callback is
called by AG Grid to request new rows from the server.
Sourcepub fn build(self) -> DataSource
pub fn build(self) -> DataSource
Finalise construction of a DataSource.
Auto Trait Implementations§
impl Freeze for DataSourceBuilder
impl !RefUnwindSafe for DataSourceBuilder
impl !Send for DataSourceBuilder
impl !Sync for DataSourceBuilder
impl Unpin for DataSourceBuilder
impl !UnwindSafe for DataSourceBuilder
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