Enum parcel_css::properties::font::LineHeight [−][src]
pub enum LineHeight {
Normal,
Number(f32),
Length(LengthPercentage),
}
Expand description
https://www.w3.org/TR/2020/WD-css-inline-3-20200827/#propdef-line-height
Variants
Normal
Number(f32)
Tuple Fields
0: f32
Length(LengthPercentage)
Tuple Fields
Trait Implementations
Returns the “default value” for a type. Read more
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 LineHeight
impl Send for LineHeight
impl Sync for LineHeight
impl Unpin for LineHeight
impl UnwindSafe for LineHeight
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