Struct gtk4::builders::ColumnViewColumnBuilder
source · [−]pub struct ColumnViewColumnBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct ColumnViewColumn
objects.
Implementations
sourceimpl ColumnViewColumnBuilder
impl ColumnViewColumnBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new ColumnViewColumnBuilder
.
sourcepub fn build(self) -> ColumnViewColumn
pub fn build(self) -> ColumnViewColumn
Build the ColumnViewColumn
.
pub fn expand(self, expand: bool) -> Self
pub fn factory(self, factory: &impl IsA<ListItemFactory>) -> Self
pub fn fixed_width(self, fixed_width: i32) -> Self
pub fn resizable(self, resizable: bool) -> Self
pub fn sorter(self, sorter: &impl IsA<Sorter>) -> Self
pub fn title(self, title: &str) -> Self
pub fn visible(self, visible: bool) -> Self
Trait Implementations
sourceimpl Clone for ColumnViewColumnBuilder
impl Clone for ColumnViewColumnBuilder
sourcefn clone(&self) -> ColumnViewColumnBuilder
fn clone(&self) -> ColumnViewColumnBuilder
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 ColumnViewColumnBuilder
impl Default for ColumnViewColumnBuilder
sourcefn default() -> ColumnViewColumnBuilder
fn default() -> ColumnViewColumnBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ColumnViewColumnBuilder
impl !Send for ColumnViewColumnBuilder
impl !Sync for ColumnViewColumnBuilder
impl Unpin for ColumnViewColumnBuilder
impl UnwindSafe for ColumnViewColumnBuilder
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