Struct parcel_css::properties::flex::Flex [−][src]
pub struct Flex {
pub grow: f32,
pub shrink: f32,
pub basis: LengthPercentageOrAuto,
}
Fields
grow: f32
shrink: f32
basis: LengthPercentageOrAuto
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Flex
impl UnwindSafe for Flex
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