pub struct Measurement {
pub min_width: u16,
pub min_height: u16,
pub max_width: Option<u16>,
pub max_height: Option<u16>,
}Expand description
Size negotiation hints for layout.
Fields§
§min_width: u16Minimum width in columns.
min_height: u16Minimum height in rows.
max_width: Option<u16>Maximum width (None = unbounded).
max_height: Option<u16>Maximum height (None = unbounded).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Measurement
impl Freeze for Measurement
impl Move for Measurement
impl RefUnwindSafe for Measurement
impl Send for Measurement
impl Sync for Measurement
impl Unpin for Measurement
impl UnsafeUnpin for Measurement
impl UnwindSafe for Measurement
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