Enum parcel_css::properties::size::Size
source · [−]pub enum Size {
Auto,
LengthPercentage(LengthPercentage),
MinContent,
MaxContent,
FitContent(LengthPercentage),
}
Expand description
https://drafts.csswg.org/css-sizing-3/#specifying-sizes https://drafts.csswg.org/css-sizing-3/#preferred-size-properties
Variants
Auto
LengthPercentage(LengthPercentage)
MinContent
MaxContent
FitContent(LengthPercentage)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Size
impl UnwindSafe for Size
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