Enum parcel_css::properties::font::FontStretch [−][src]
pub enum FontStretch {
Keyword(FontStretchKeyword),
Percentage(Percentage),
}
Expand description
https://www.w3.org/TR/2021/WD-css-fonts-4-20210729/#font-stretch-prop
Variants
Keyword(FontStretchKeyword)
Tuple Fields
Percentage(Percentage)
Tuple Fields
0: Percentage
Implementations
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 FontStretch
impl Send for FontStretch
impl Sync for FontStretch
impl Unpin for FontStretch
impl UnwindSafe for FontStretch
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