pub enum Expect {
Number,
Percentage,
Dimension(Kind),
DimensionPercentage(Kind),
}Expand description
What a value must be, for Math::fits.
Variants§
Number
Percentage
Dimension(Kind)
DimensionPercentage(Kind)
A dimension, or a percentage of one: <length-percentage>.
Trait Implementations§
impl Copy for Expect
impl Eq for Expect
impl StructuralPartialEq for Expect
Auto Trait Implementations§
impl Forget for Expect
impl Freeze for Expect
impl Move for Expect
impl RefUnwindSafe for Expect
impl Send for Expect
impl Sync for Expect
impl Unpin for Expect
impl UnsafeUnpin for Expect
impl UnwindSafe for Expect
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