pub enum GridTrackSizing {
Auto,
MinContent,
MaxContent,
Px(Px),
Fr(f32),
Flex(f32),
}Variants§
Auto
MinContent
MaxContent
Px(Px)
Fr(f32)
Flex(f32)
minmax(0, Nfr) style track sizing for shrinkable content columns.
Trait Implementations§
Source§impl Clone for GridTrackSizing
impl Clone for GridTrackSizing
Source§fn clone(&self) -> GridTrackSizing
fn clone(&self) -> GridTrackSizing
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GridTrackSizing
Source§impl Debug for GridTrackSizing
impl Debug for GridTrackSizing
Source§impl PartialEq for GridTrackSizing
impl PartialEq for GridTrackSizing
Source§fn eq(&self, other: &GridTrackSizing) -> bool
fn eq(&self, other: &GridTrackSizing) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GridTrackSizing
Auto Trait Implementations§
impl Freeze for GridTrackSizing
impl RefUnwindSafe for GridTrackSizing
impl Send for GridTrackSizing
impl Sync for GridTrackSizing
impl Unpin for GridTrackSizing
impl UnsafeUnpin for GridTrackSizing
impl UnwindSafe for GridTrackSizing
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