pub enum ConstraintError {
IsNan(&'static str),
IsNegative(&'static str),
IsInfinite(&'static str),
GrowFixedExclusive,
MinExceedsMax,
DeltaNotFinite,
GridSpanOverflow(usize),
ExceedsOne(&'static str),
}Expand description
Invalid Constraints parameter.
Variants§
IsNan(&'static str)
The named field is NaN.
IsNegative(&'static str)
The named field is negative.
IsInfinite(&'static str)
The named field is infinite.
GrowFixedExclusive
grow and fixed are mutually exclusive.
MinExceedsMax
min exceeds max.
DeltaNotFinite
Resize delta is NaN or infinite.
GridSpanOverflow(usize)
Grid span exceeds u16::MAX.
ExceedsOne(&'static str)
A proportional value (0.0..=1.0) exceeded 1.0.
Trait Implementations§
Source§impl Debug for ConstraintError
impl Debug for ConstraintError
Source§impl Display for ConstraintError
impl Display for ConstraintError
Source§impl Error for ConstraintError
impl Error for ConstraintError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ConstraintError
impl RefUnwindSafe for ConstraintError
impl Send for ConstraintError
impl Sync for ConstraintError
impl Unpin for ConstraintError
impl UnsafeUnpin for ConstraintError
impl UnwindSafe for ConstraintError
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