Enum parcel_css::properties::size::MinMaxSize
source · [−]pub enum MinMaxSize {
None,
LengthPercentage(LengthPercentage),
MinContent,
MaxContent,
FitContent(LengthPercentage),
}
Expand description
https://drafts.csswg.org/css-sizing-3/#min-size-properties https://drafts.csswg.org/css-sizing-3/#max-size-properties
Variants
None
LengthPercentage(LengthPercentage)
MinContent
MaxContent
FitContent(LengthPercentage)
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MinMaxSize
impl Send for MinMaxSize
impl Sync for MinMaxSize
impl Unpin for MinMaxSize
impl UnwindSafe for MinMaxSize
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more