#[repr(C)]pub struct GridMinMax {
pub min: Box<GridTrackSizing>,
pub max: Box<GridTrackSizing>,
}Expand description
Wrapper for minmax(min, max) to satisfy repr(C) (enum variants can only have 1 field)
Fields§
§min: Box<GridTrackSizing>§max: Box<GridTrackSizing>Trait Implementations§
Source§impl Clone for GridMinMax
impl Clone for GridMinMax
Source§fn clone(&self) -> GridMinMax
fn clone(&self) -> GridMinMax
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 GridMinMax
impl Debug for GridMinMax
Source§impl Hash for GridMinMax
impl Hash for GridMinMax
Source§impl Ord for GridMinMax
impl Ord for GridMinMax
Source§fn cmp(&self, other: &GridMinMax) -> Ordering
fn cmp(&self, other: &GridMinMax) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GridMinMax
impl PartialEq for GridMinMax
Source§impl PartialOrd for GridMinMax
impl PartialOrd for GridMinMax
impl Eq for GridMinMax
impl StructuralPartialEq for GridMinMax
Auto Trait Implementations§
impl Freeze for GridMinMax
impl RefUnwindSafe for GridMinMax
impl Send for GridMinMax
impl Sync for GridMinMax
impl Unpin for GridMinMax
impl UnwindSafe for GridMinMax
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