pub(crate) enum GridTrack {
Px(i32),
Fr(f32),
Auto,
MinMax {
min_px: i32,
max_fr: f32,
max_px: i32,
max_is_fr: bool,
max_is_auto: bool,
},
}Expand description
グリッドトラック(行/列の 1 トラック)のサイズ種別。
Variants§
Px(i32)
Fr(f32)
Auto
MinMax
minmax(min_px, max): max が fr なら伸長可能だが最低 min_px を保証。 max が auto/px のときは Fr(0) 相当で扱い、行高さは内容 or max_px と min_px の間。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GridTrack
impl RefUnwindSafe for GridTrack
impl Send for GridTrack
impl Sync for GridTrack
impl Unpin for GridTrack
impl UnsafeUnpin for GridTrack
impl UnwindSafe for GridTrack
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