#[non_exhaustive]pub enum MinInlineSize {
Auto,
FitContent,
MaxContent,
MinContent,
Length(Length),
Percentage(Percentage),
Raw(Raw),
}Expand description
A value of min-inline-size.
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.
Auto
auto.
FitContent
fit-content.
MaxContent
max-content.
MinContent
min-content.
Length(Length)
A length.
Percentage(Percentage)
A percentage.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for MinInlineSize
impl Clone for MinInlineSize
Source§fn clone(&self) -> MinInlineSize
fn clone(&self) -> MinInlineSize
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MinInlineSize
impl Debug for MinInlineSize
Source§impl Display for MinInlineSize
impl Display for MinInlineSize
Source§impl From<Length> for MinInlineSize
impl From<Length> for MinInlineSize
Source§impl From<Percentage> for MinInlineSize
impl From<Percentage> for MinInlineSize
Source§fn from(v: Percentage) -> Self
fn from(v: Percentage) -> Self
Converts to this type from the input type.
Source§impl From<Raw> for MinInlineSize
impl From<Raw> for MinInlineSize
Source§impl PartialEq for MinInlineSize
impl PartialEq for MinInlineSize
impl StructuralPartialEq for MinInlineSize
Auto Trait Implementations§
impl Freeze for MinInlineSize
impl RefUnwindSafe for MinInlineSize
impl Send for MinInlineSize
impl Sync for MinInlineSize
impl Unpin for MinInlineSize
impl UnsafeUnpin for MinInlineSize
impl UnwindSafe for MinInlineSize
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