pub struct Columns {
pub cols: Vec<Column>,
pub gap: Option<f32>,
}Expand description
多栏容器:各栏并排,行高取最高栏。
Fields§
§cols: Vec<Column>各栏。
gap: Option<f32>栏间距(逻辑像素);None = 主题默认。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Columns
impl RefUnwindSafe for Columns
impl Send for Columns
impl Sync for Columns
impl Unpin for Columns
impl UnsafeUnpin for Columns
impl UnwindSafe for Columns
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