pub struct NodeConstraints {
pub min_width: f32,
pub max_width: f32,
pub min_height: f32,
pub max_height: f32,
}Expand description
The size a node may take, in dp. f32::INFINITY is no limit.
Fields§
§min_width: f32§max_width: f32§min_height: f32§max_height: f32Implementations§
Trait Implementations§
Source§impl Clone for NodeConstraints
impl Clone for NodeConstraints
impl Copy for NodeConstraints
Source§impl Debug for NodeConstraints
impl Debug for NodeConstraints
Source§impl PartialEq for NodeConstraints
impl PartialEq for NodeConstraints
impl StructuralPartialEq for NodeConstraints
Auto Trait Implementations§
impl Freeze for NodeConstraints
impl RefUnwindSafe for NodeConstraints
impl Send for NodeConstraints
impl Sync for NodeConstraints
impl Unpin for NodeConstraints
impl UnsafeUnpin for NodeConstraints
impl UnwindSafe for NodeConstraints
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