Struct gtk4::builders::NumericSorterBuilder
source · [−]pub struct NumericSorterBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct NumericSorter
objects.
Implementations
sourceimpl NumericSorterBuilder
impl NumericSorterBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new NumericSorterBuilder
.
sourcepub fn build(self) -> NumericSorter
pub fn build(self) -> NumericSorter
Build the NumericSorter
.
pub fn expression(self, expression: impl AsRef<Expression>) -> Self
pub fn sort_order(self, sort_order: SortType) -> Self
Trait Implementations
sourceimpl Clone for NumericSorterBuilder
impl Clone for NumericSorterBuilder
sourcefn clone(&self) -> NumericSorterBuilder
fn clone(&self) -> NumericSorterBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for NumericSorterBuilder
impl Default for NumericSorterBuilder
sourcefn default() -> NumericSorterBuilder
fn default() -> NumericSorterBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for NumericSorterBuilder
impl !Send for NumericSorterBuilder
impl !Sync for NumericSorterBuilder
impl Unpin for NumericSorterBuilder
impl UnwindSafe for NumericSorterBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more