pub(crate) enum SizingKeywordResolution {
Measure(AvailableSpace),
Exact(f32),
}Expand description
How a sizing keyword resolves to a used size
Variants§
Measure(AvailableSpace)
The size is the result of measuring the item under the given available space constraint
Exact(f32)
The size resolves to an exact value without measuring the item
Auto Trait Implementations§
impl Freeze for SizingKeywordResolution
impl RefUnwindSafe for SizingKeywordResolution
impl Send for SizingKeywordResolution
impl Sync for SizingKeywordResolution
impl Unpin for SizingKeywordResolution
impl UnsafeUnpin for SizingKeywordResolution
impl UnwindSafe for SizingKeywordResolution
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