pub enum FontTechnology {
FeaturesOpentype,
FeaturesAat,
FeaturesGraphite,
ColorCOLRv0,
ColorCOLRv1,
ColorSVG,
ColorSbix,
ColorCBDT,
Variations,
Palettes,
Incremental,
}
Expand description
A font format keyword in the format()
function of the the
src
property of an @font-face
rule.
Variants§
FeaturesOpentype
A font features tech descriptor in the tech()
function of the
src
property of an @font-face
rule.
Supports OpenType Features.
https://docs.microsoft.com/en-us/typography/opentype/spec/featurelist
FeaturesAat
Supports Apple Advanced Typography Font Features. https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html
FeaturesGraphite
Supports Graphite Table Format. https://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=GraphiteBinaryFormat_3_0&filename=GraphiteBinaryFormat_3_0.pdf
ColorCOLRv0
A color font tech descriptor in the tech()
function of the
src
property of an @font-face
rule.
Supports the COLR
v0 table.
ColorCOLRv1
Supports the COLR
v1 table.
ColorSVG
Supports the SVG
table.
ColorSbix
Supports the sbix
table.
ColorCBDT
Supports the CBDT
table.
Variations
Supports Variations The variations tech refers to the support of font variations
Palettes
Supports Palettes The palettes tech refers to support for font palettes
Incremental
Supports Incremental The incremental tech refers to client support for incremental font loading, using either the range-request or the patch-subset method
Implementations§
Trait Implementations§
Source§impl Clone for FontTechnology
impl Clone for FontTechnology
Source§fn clone(&self) -> FontTechnology
fn clone(&self) -> FontTechnology
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for FontTechnology
impl Debug for FontTechnology
Source§impl<'de> Deserialize<'de> for FontTechnology
impl<'de> Deserialize<'de> for FontTechnology
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl<'any> IntoOwned<'any> for FontTechnology
impl<'any> IntoOwned<'any> for FontTechnology
Source§type Owned = FontTechnology
type Owned = FontTechnology
Self
with a new lifetime.Source§fn into_owned(self) -> Self
fn into_owned(self) -> Self
self
'static
.Source§impl JsonSchema for FontTechnology
impl JsonSchema for FontTechnology
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreSource§impl<'i> Parse<'i> for FontTechnology
impl<'i> Parse<'i> for FontTechnology
Source§fn parse<'t>(
input: &mut Parser<'i, 't>,
) -> Result<Self, ParseError<'i, ParserError<'i>>>
fn parse<'t>( input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i, ParserError<'i>>>
Source§fn parse_string(input: &'i str) -> Result<Self, ParseError<'i, ParserError<'i>>>
fn parse_string(input: &'i str) -> Result<Self, ParseError<'i, ParserError<'i>>>
Source§impl PartialEq for FontTechnology
impl PartialEq for FontTechnology
Source§impl Serialize for FontTechnology
impl Serialize for FontTechnology
Source§impl ToCss for FontTechnology
impl ToCss for FontTechnology
Source§fn to_css<W>(
&self,
dest: &mut Printer<'_, '_, '_, W>,
) -> Result<(), PrinterError>where
W: Write,
fn to_css<W>(
&self,
dest: &mut Printer<'_, '_, '_, W>,
) -> Result<(), PrinterError>where
W: Write,
self
in CSS syntax, writing to dest
.Source§fn to_css_string(
&self,
options: PrinterOptions<'_>,
) -> Result<String, PrinterError>
fn to_css_string( &self, options: PrinterOptions<'_>, ) -> Result<String, PrinterError>
self
in CSS syntax and return a string. Read moreSource§impl<'i, __T: Visit<'i, __T, __V>, __V: ?Sized + Visitor<'i, __T>> Visit<'i, __T, __V> for FontTechnology
impl<'i, __T: Visit<'i, __T, __V>, __V: ?Sized + Visitor<'i, __T>> Visit<'i, __T, __V> for FontTechnology
Source§const CHILD_TYPES: VisitTypes
const CHILD_TYPES: VisitTypes
visitor
only.impl Copy for FontTechnology
impl StructuralPartialEq for FontTechnology
Auto Trait Implementations§
impl Freeze for FontTechnology
impl RefUnwindSafe for FontTechnology
impl Send for FontTechnology
impl Sync for FontTechnology
impl Unpin for FontTechnology
impl UnwindSafe for FontTechnology
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more