pub enum Source {
Url(UrlSource),
Local(FontFamily),
}
Expand description
https://www.w3.org/TR/2021/WD-css-fonts-4-20210729/#font-face-src-parsing
Variants
Url(UrlSource)
Local(FontFamily)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Source
impl UnwindSafe for Source
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