pub struct MinMax {
pub min_width: f64,
pub max_width: f64,
pub min_height: f64,
pub max_height: f64,
}Expand description
The effective minimum and maximum size of a layoutable, combining its explicit size with its min/max constraints.
Fields§
§min_width: f64§max_width: f64§min_height: f64§max_height: f64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MinMax
impl RefUnwindSafe for MinMax
impl Send for MinMax
impl Sync for MinMax
impl Unpin for MinMax
impl UnsafeUnpin for MinMax
impl UnwindSafe for MinMax
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more