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: u16Trait 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
Source§fn eq(&self, other: &SizeConstraints) -> bool
fn eq(&self, other: &SizeConstraints) -> bool
Tests for
self and other values to be equal, and is used by ==.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