pub enum GridColumnMode {
Fixed(usize),
AutoFill {
min_width: f32,
},
AutoFit {
min_width: f32,
},
}Expand description
Column mode for CSS Grid-based presets.
Variants§
Fixed(usize)
Fixed number of equal-width columns.
AutoFill
Responsive columns via repeat(auto-fill, minmax(min_width, 1fr)).
AutoFit
Responsive columns via repeat(auto-fit, minmax(min_width, 1fr)).
Trait Implementations§
Source§impl Clone for GridColumnMode
impl Clone for GridColumnMode
Source§fn clone(&self) -> GridColumnMode
fn clone(&self) -> GridColumnMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GridColumnMode
impl Debug for GridColumnMode
Source§impl PartialEq for GridColumnMode
impl PartialEq for GridColumnMode
impl Copy for GridColumnMode
impl StructuralPartialEq for GridColumnMode
Auto Trait Implementations§
impl Freeze for GridColumnMode
impl RefUnwindSafe for GridColumnMode
impl Send for GridColumnMode
impl Sync for GridColumnMode
impl Unpin for GridColumnMode
impl UnsafeUnpin for GridColumnMode
impl UnwindSafe for GridColumnMode
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