pub struct DataTableStateBuilder { /* private fields */ }Expand description
Builder for creating table state with specific initial values.
Allows step-by-step configuration of each feature state
before building the final DataTableState instance.
Implementations§
Source§impl DataTableStateBuilder
impl DataTableStateBuilder
Sourcepub fn new() -> DataTableStateBuilder
pub fn new() -> DataTableStateBuilder
Sourcepub fn sorting(self, sorting: SortingState) -> DataTableStateBuilder
pub fn sorting(self, sorting: SortingState) -> DataTableStateBuilder
Sourcepub fn filtering(self, filtering: FilterState) -> DataTableStateBuilder
pub fn filtering(self, filtering: FilterState) -> DataTableStateBuilder
Sourcepub fn pagination(self, pagination: PaginationState) -> DataTableStateBuilder
pub fn pagination(self, pagination: PaginationState) -> DataTableStateBuilder
Sourcepub fn row_selection(
self,
row_selection: RowSelectionState,
) -> DataTableStateBuilder
pub fn row_selection( self, row_selection: RowSelectionState, ) -> DataTableStateBuilder
Sourcepub fn expanding(self, expanding: ExpandingState) -> DataTableStateBuilder
pub fn expanding(self, expanding: ExpandingState) -> DataTableStateBuilder
Sourcepub fn column_visibility(
self,
visibility: ColumnVisibilityState,
) -> DataTableStateBuilder
pub fn column_visibility( self, visibility: ColumnVisibilityState, ) -> DataTableStateBuilder
Sourcepub fn column_ordering(
self,
ordering: ColumnOrderingState,
) -> DataTableStateBuilder
pub fn column_ordering( self, ordering: ColumnOrderingState, ) -> DataTableStateBuilder
Sourcepub fn column_pinning(
self,
pinning: ColumnPinningState,
) -> DataTableStateBuilder
pub fn column_pinning( self, pinning: ColumnPinningState, ) -> DataTableStateBuilder
Sourcepub fn column_sizing(self, sizing: ColumnSizingState) -> DataTableStateBuilder
pub fn column_sizing(self, sizing: ColumnSizingState) -> DataTableStateBuilder
Sourcepub fn grouping(self, grouping: GroupingState) -> DataTableStateBuilder
pub fn grouping(self, grouping: GroupingState) -> DataTableStateBuilder
Sourcepub fn aggregation(self, aggregation: AggregationState) -> DataTableStateBuilder
pub fn aggregation(self, aggregation: AggregationState) -> DataTableStateBuilder
Sourcepub fn build(self) -> DataTableState
pub fn build(self) -> DataTableState
Trait Implementations§
Source§impl Debug for DataTableStateBuilder
impl Debug for DataTableStateBuilder
Source§impl Default for DataTableStateBuilder
impl Default for DataTableStateBuilder
Source§fn default() -> DataTableStateBuilder
fn default() -> DataTableStateBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DataTableStateBuilder
impl RefUnwindSafe for DataTableStateBuilder
impl Send for DataTableStateBuilder
impl Sync for DataTableStateBuilder
impl Unpin for DataTableStateBuilder
impl UnsafeUnpin for DataTableStateBuilder
impl UnwindSafe for DataTableStateBuilder
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.