pub struct PaneConstraints {
pub min_width: u16,
pub min_height: u16,
pub max_width: Option<u16>,
pub max_height: Option<u16>,
pub collapsible: bool,
pub margin: Option<u16>,
pub padding: Option<u16>,
}Expand description
Per-node size bounds.
Fields§
§min_width: u16§min_height: u16§max_width: Option<u16>§max_height: Option<u16>§collapsible: bool§margin: Option<u16>§padding: Option<u16>Implementations§
Trait Implementations§
Source§impl Clone for PaneConstraints
impl Clone for PaneConstraints
Source§fn clone(&self) -> PaneConstraints
fn clone(&self) -> PaneConstraints
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 PaneConstraints
impl Debug for PaneConstraints
Source§impl Default for PaneConstraints
impl Default for PaneConstraints
Source§impl<'de> Deserialize<'de> for PaneConstraints
impl<'de> Deserialize<'de> for PaneConstraints
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PaneConstraints
impl PartialEq for PaneConstraints
Source§impl Serialize for PaneConstraints
impl Serialize for PaneConstraints
impl Copy for PaneConstraints
impl Eq for PaneConstraints
impl StructuralPartialEq for PaneConstraints
Auto Trait Implementations§
impl Freeze for PaneConstraints
impl RefUnwindSafe for PaneConstraints
impl Send for PaneConstraints
impl Sync for PaneConstraints
impl Unpin for PaneConstraints
impl UnsafeUnpin for PaneConstraints
impl UnwindSafe for PaneConstraints
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