pub enum FlexError {
NegativeBase(i32),
NegativeMin(i32),
NegativeShrink(i32),
NegativeExcess(i32),
}Expand description
配分の引数が不正だった場合のエラー。
Variants§
NegativeBase(i32)
主軸サイズが負。
NegativeMin(i32)
下限が負。
NegativeShrink(i32)
flex-shrink 係数が負。
NegativeExcess(i32)
吸収すべき超過分が負(呼び出し側の計算違い)。
Trait Implementations§
impl Copy for FlexError
impl Eq for FlexError
impl StructuralPartialEq for FlexError
Auto Trait Implementations§
impl Freeze for FlexError
impl RefUnwindSafe for FlexError
impl Send for FlexError
impl Sync for FlexError
impl Unpin for FlexError
impl UnsafeUnpin for FlexError
impl UnwindSafe for FlexError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.