pub enum Reason {
NoForms,
TooNarrow,
TooShort,
NoRoom,
PinOutOfBounds,
PinOverlap,
}Expand description
Why an element is not placed, or not where it was pinned.
Variants§
NoForms
The element declares no form.
TooNarrow
Even its smallest form is wider than the container.
TooShort
Even its smallest form is taller than the bounded container.
NoRoom
It fits the container’s shape, but the bounded container is full.
PinOutOfBounds
Its pin puts it outside the container.
PinOverlap
Its pin overlaps an element pinned before it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Reason
impl<'de> Deserialize<'de> for Reason
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
impl Copy for Reason
impl Eq for Reason
impl StructuralPartialEq for Reason
Auto Trait Implementations§
impl Freeze for Reason
impl RefUnwindSafe for Reason
impl Send for Reason
impl Sync for Reason
impl Unpin for Reason
impl UnsafeUnpin for Reason
impl UnwindSafe for Reason
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