pub struct SizeConstraints {
pub min_width: u16,
pub min_height: u16,
}Expand description
Minimum dimensions enforced by tree mutation functions.
Fields§
§min_width: u16§min_height: u16Implementations§
Source§impl SizeConstraints
impl SizeConstraints
pub fn fits_split(&self, area: &LayoutRect, orientation: Orientation) -> bool
Trait Implementations§
Source§impl Clone for SizeConstraints
impl Clone for SizeConstraints
Source§fn clone(&self) -> SizeConstraints
fn clone(&self) -> SizeConstraints
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SizeConstraints
Source§impl Debug for SizeConstraints
impl Debug for SizeConstraints
impl Eq for SizeConstraints
Source§impl PartialEq for SizeConstraints
impl PartialEq for SizeConstraints
impl StructuralPartialEq for SizeConstraints
Auto Trait Implementations§
impl Freeze for SizeConstraints
impl RefUnwindSafe for SizeConstraints
impl Send for SizeConstraints
impl Sync for SizeConstraints
impl Unpin for SizeConstraints
impl UnsafeUnpin for SizeConstraints
impl UnwindSafe for SizeConstraints
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