pub struct Track {
pub size: GridLength,
pub min: f32,
pub max: f32,
}Expand description
One row or column of a GridSpec: its size and the limits on it.
Fields§
§size: GridLength§min: f32Never smaller than this (WPF’s MinHeight/MinWidth).
max: f32Never larger than this (f32::INFINITY = no limit).
Implementations§
Trait Implementations§
impl Copy for Track
Source§impl From<GridLength> for Track
impl From<GridLength> for Track
Source§fn from(size: GridLength) -> Track
fn from(size: GridLength) -> Track
Converts to this type from the input type.
impl StructuralPartialEq for Track
Auto Trait Implementations§
impl Freeze for Track
impl RefUnwindSafe for Track
impl Send for Track
impl Sync for Track
impl Unpin for Track
impl UnsafeUnpin for Track
impl UnwindSafe for Track
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