pub struct ColumnDefBuilder<T> { /* private fields */ }Expand description
Builder for creating column definitions with a fluent API.
Allows step-by-step configuration of column properties
before building the final ColumnDef instance.
Implementations§
Source§impl<T> ColumnDefBuilder<T>
impl<T> ColumnDefBuilder<T>
Sourcepub fn filterable(self, filterable: bool) -> Self
pub fn filterable(self, filterable: bool) -> Self
Sourcepub fn default_width(self, width: f64) -> Self
pub fn default_width(self, width: f64) -> Self
Sourcepub fn filter_placeholder(self, placeholder: impl Into<String>) -> Self
pub fn filter_placeholder(self, placeholder: impl Into<String>) -> Self
Sourcepub fn sorting_fn(self, f: SortingFn<T>) -> Self
pub fn sorting_fn(self, f: SortingFn<T>) -> Self
Sourcepub fn aggregation_fn(self, f: AggregationFn<T>) -> Self
pub fn aggregation_fn(self, f: AggregationFn<T>) -> Self
Sourcepub fn enable_multi_sort(self, enable: bool) -> Self
pub fn enable_multi_sort(self, enable: bool) -> Self
Sourcepub fn invert_sorting(self, invert: bool) -> Self
pub fn invert_sorting(self, invert: bool) -> Self
Sourcepub fn sort_undefined_last(self, last: bool) -> Self
pub fn sort_undefined_last(self, last: bool) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for ColumnDefBuilder<T>
impl<T> !RefUnwindSafe for ColumnDefBuilder<T>
impl<T> Send for ColumnDefBuilder<T>
impl<T> Sync for ColumnDefBuilder<T>
impl<T> Unpin for ColumnDefBuilder<T>
impl<T> UnsafeUnpin for ColumnDefBuilder<T>
impl<T> !UnwindSafe for ColumnDefBuilder<T>
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