pub enum LayoutIssue {
DuplicateId {
id: String,
},
NonPositiveSize {
id: String,
w: i32,
h: i32,
},
OutOfHorizontalBounds {
id: String,
x: i32,
w: i32,
cols: i32,
},
MinMaxWidth {
id: String,
w: i32,
min_w: Option<i32>,
max_w: Option<i32>,
},
MinMaxHeight {
id: String,
h: i32,
min_h: Option<i32>,
max_h: Option<i32>,
},
Overlap {
a: String,
b: String,
},
}Expand description
Issues found by validate_layout.
Variants§
Trait Implementations§
Source§impl Clone for LayoutIssue
impl Clone for LayoutIssue
Source§fn clone(&self) -> LayoutIssue
fn clone(&self) -> LayoutIssue
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 LayoutIssue
impl Debug for LayoutIssue
Source§impl<'de> Deserialize<'de> for LayoutIssue
impl<'de> Deserialize<'de> for LayoutIssue
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 LayoutIssue
impl PartialEq for LayoutIssue
Source§impl Serialize for LayoutIssue
impl Serialize for LayoutIssue
impl Eq for LayoutIssue
impl StructuralPartialEq for LayoutIssue
Auto Trait Implementations§
impl Freeze for LayoutIssue
impl RefUnwindSafe for LayoutIssue
impl Send for LayoutIssue
impl Sync for LayoutIssue
impl Unpin for LayoutIssue
impl UnsafeUnpin for LayoutIssue
impl UnwindSafe for LayoutIssue
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