Enum parcel_css::rules::font_face::FontFaceProperty [−][src]
pub enum FontFaceProperty {
Source(Vec<Source>),
FontFamily(FontFamily),
FontStyle(FontStyle),
FontWeight(Size2D<FontWeight>),
FontStretch(Size2D<FontStretch>),
Custom(CustomProperty),
}
Variants
Source(Vec<Source>)
FontFamily(FontFamily)
Tuple Fields
0: FontFamily
FontStyle(FontStyle)
Tuple Fields
0: FontStyle
FontWeight(Size2D<FontWeight>)
Tuple Fields
0: Size2D<FontWeight>
FontStretch(Size2D<FontStretch>)
Tuple Fields
0: Size2D<FontStretch>
Custom(CustomProperty)
Tuple Fields
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 FontFaceProperty
impl Send for FontFaceProperty
impl Sync for FontFaceProperty
impl Unpin for FontFaceProperty
impl UnwindSafe for FontFaceProperty
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