pub struct ColumnBuilder<'ui> { /* private fields */ }Expand description
Chainable builder for a single column. Use .done() to return to the table builder.
Implementations§
Source§impl<'ui> ColumnBuilder<'ui>
impl<'ui> ColumnBuilder<'ui>
Sourcepub fn flags(self, flags: TableColumnFlags) -> Self
pub fn flags(self, flags: TableColumnFlags) -> Self
Set column flags.
Sourcepub fn width(self, width: f32) -> Self
pub fn width(self, width: f32) -> Self
Set fixed width or stretch weight (ImGui uses same field for both).
Sourcepub fn angled_header(self, enabled: bool) -> Self
pub fn angled_header(self, enabled: bool) -> Self
Toggle angled header flag.
Sourcepub fn done(self) -> TableBuilder<'ui>
pub fn done(self) -> TableBuilder<'ui>
Finish this column and return to the table builder.
Trait Implementations§
Auto Trait Implementations§
impl<'ui> Freeze for ColumnBuilder<'ui>
impl<'ui> !RefUnwindSafe for ColumnBuilder<'ui>
impl<'ui> !Send for ColumnBuilder<'ui>
impl<'ui> !Sync for ColumnBuilder<'ui>
impl<'ui> Unpin for ColumnBuilder<'ui>
impl<'ui> !UnwindSafe for ColumnBuilder<'ui>
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