#[non_exhaustive]pub enum Available {
Definite(f32),
MinContent,
MaxContent,
}Expand description
Room along one axis.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Definite(f32)
This many physical pixels.
MinContent
As little as possible: the narrowest the content can be (text wrapped at every opportunity).
MaxContent
As much as the content wants (text on one line).
Implementations§
Trait Implementations§
impl Copy for Available
impl StructuralPartialEq for Available
Auto Trait Implementations§
impl Freeze for Available
impl RefUnwindSafe for Available
impl Send for Available
impl Sync for Available
impl Unpin for Available
impl UnsafeUnpin for Available
impl UnwindSafe for Available
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