pub struct Column<'a> { /* private fields */ }Expand description
A single column definition.
Implementations§
Source§impl<'a> Column<'a>
impl<'a> Column<'a>
Sourcepub fn new(widget: impl Widget + 'a, constraint: Constraint) -> Self
pub fn new(widget: impl Widget + 'a, constraint: Constraint) -> Self
Create a new column with a widget and constraint.
Sourcepub fn constraint(self, constraint: Constraint) -> Self
pub fn constraint(self, constraint: Constraint) -> Self
Set the column constraint.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Column<'a>
impl<'a> !RefUnwindSafe for Column<'a>
impl<'a> !Send for Column<'a>
impl<'a> !Sync for Column<'a>
impl<'a> Unpin for Column<'a>
impl<'a> !UnwindSafe for Column<'a>
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