pub struct LayoutConstraints {
pub min_width: f32,
pub max_width: f32,
pub min_height: f32,
pub max_height: f32,
}Expand description
Constraints used during layout.
Fields§
§min_width: f32§max_width: f32§min_height: f32§max_height: f32Implementations§
Trait Implementations§
Source§impl Clone for LayoutConstraints
impl Clone for LayoutConstraints
Source§fn clone(&self) -> LayoutConstraints
fn clone(&self) -> LayoutConstraints
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 LayoutConstraints
impl Debug for LayoutConstraints
Source§impl Default for LayoutConstraints
impl Default for LayoutConstraints
Source§impl PartialEq for LayoutConstraints
impl PartialEq for LayoutConstraints
impl StructuralPartialEq for LayoutConstraints
Auto Trait Implementations§
impl Freeze for LayoutConstraints
impl RefUnwindSafe for LayoutConstraints
impl Send for LayoutConstraints
impl Sync for LayoutConstraints
impl Unpin for LayoutConstraints
impl UnwindSafe for LayoutConstraints
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